Class: TabsFor::Rails::TabsForHelper::ViewBuilder

Inherits:
Object
  • Object
show all
Includes:
ActionView::Helpers
Defined in:
app/helpers/tabs_for/rails/tabs_for_helper.rb

Direct Known Subclasses

PaneBuilder, TabBuilder

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#objectObject

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_bufferObject

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

#templateObject

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