Class: Jun::ActionView::Base
- Includes:
- Helpers
- Defined in:
- lib/jun/action_view/base.rb
Instance Attribute Summary collapse
-
#controller ⇒ Object
readonly
Returns the value of attribute controller.
Instance Method Summary collapse
-
#initialize(controller) ⇒ Base
constructor
A new instance of Base.
Methods included from Helpers::UrlHelper
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
#controller ⇒ Object (readonly)
Returns the value of attribute controller.
10 11 12 |
# File 'lib/jun/action_view/base.rb', line 10 def controller @controller end |