Class: AbstractInterface::FormBuilders::ThemedFormTagBuilder

Inherits:
Object
  • Object
show all
Includes:
AbstractFormBuilder
Defined in:
lib/abstract_interface/form_builders/themed_form_tag_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from AbstractFormBuilder

#error_messages, #field_tag, #line, #line_with_delimiters, #method_missing, #submit

Constructor Details

#initialize(template) ⇒ ThemedFormTagBuilder

Returns a new instance of ThemedFormTagBuilder.



8
9
10
# File 'lib/abstract_interface/form_builders/themed_form_tag_builder.rb', line 8

def initialize template
  @template = template
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AbstractInterface::FormBuilders::AbstractFormBuilder

Instance Attribute Details

#templateObject (readonly)

Returns the value of attribute template.



6
7
8
# File 'lib/abstract_interface/form_builders/themed_form_tag_builder.rb', line 6

def template
  @template
end