Class: Jun::ActionView::Base

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/jun/action_view/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Helpers::UrlHelper

#link_to

Constructor Details

#initialize(controller) ⇒ Base

Returns a new instance of Base.



12
13
14
15
# File 'lib/jun/action_view/base.rb', line 12

def initialize(controller)
  @controller = controller
  assign_instance_variables
end

Instance Attribute Details

#controllerObject (readonly)

Returns the value of attribute controller.



10
11
12
# File 'lib/jun/action_view/base.rb', line 10

def controller
  @controller
end