Sha256: 485904c2e24302f9eb768fb2e3048f83dbf48905e00cc0300177ebc74293c951

Contents?: true

Size: 289 Bytes

Versions: 12

Compression:

Stored size: 289 Bytes

Contents

class Rad::Controller::Context < Rad::Template::Context
  attr_reader :controller, :controller_name, :action_name
  delegate :params, :request, :response, to: :controller
  
  def initialize instance_variables, controller
    super instance_variables
    @controller = controller
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rad_core-0.2.6 lib/rad/controller/_context.rb
rad_core-0.2.5 lib/rad/controller/_context.rb
rad_core-0.2.4 lib/rad/controller/_context.rb
rad_core-0.2.3 lib/rad/controller/_context.rb
rad_core-0.2.2 lib/rad/controller/_context.rb
rad_core-0.2.1 lib/rad/controller/_context.rb
rad_core-0.2.0 lib/rad/controller/_context.rb
rad_core-0.0.30 lib/rad/controller/_context.rb
rad_core-0.0.29 lib/rad/controller/_context.rb
rad_core-0.0.28 lib/rad/controller/_context.rb
rad_core-0.0.27 lib/rad/controller/_context.rb
rad_core-0.0.26 lib/rad/controller/_context.rb