Class: TabsFor::Rails::TabsForHelper::ViewBuilder
- Inherits:
-
Object
- Object
- TabsFor::Rails::TabsForHelper::ViewBuilder
- Includes:
- ActionView::Helpers
- Defined in:
- app/helpers/tabs_for/rails/tabs_for_helper.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
-
#output_buffer ⇒ Object
Returns the value of attribute output_buffer.
-
#template ⇒ Object
Returns the value of attribute template.
Instance Method Summary collapse
-
#initialize(object, template) ⇒ ViewBuilder
constructor
A new instance of ViewBuilder.
Constructor Details
#initialize(object, template) ⇒ ViewBuilder
Returns a new instance of ViewBuilder.
18 19 20 21 |
# File 'app/helpers/tabs_for/rails/tabs_for_helper.rb', line 18 def initialize(object, template) @object = object @template = template end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
16 17 18 |
# File 'app/helpers/tabs_for/rails/tabs_for_helper.rb', line 16 def object @object end |
#output_buffer ⇒ Object
Returns the value of attribute output_buffer.
16 17 18 |
# File 'app/helpers/tabs_for/rails/tabs_for_helper.rb', line 16 def output_buffer @output_buffer end |
#template ⇒ Object
Returns the value of attribute template.
16 17 18 |
# File 'app/helpers/tabs_for/rails/tabs_for_helper.rb', line 16 def template @template end |