Class: Caisson::Helpers::Form::Field::Text
- Defined in:
- lib/caisson/helpers/form/field/text.rb
Instance Method Summary collapse
-
#build(name, value, options = {}) ⇒ Object
************************************************************************************* PUBLIC INSTANCE METHODS *************************************************************************************.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Caisson::Helpers::Form::Field::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Caisson::Helpers::Form::Field::Base
Instance Method Details
#build(name, value, options = {}) ⇒ Object
************************************************************************************* PUBLIC INSTANCE METHODS *************************************************************************************
9 10 11 12 13 14 15 |
# File 'lib/caisson/helpers/form/field/text.rb', line 9 def build(name, value, ={}) = value = value.join(';') if value.is_a? Array return text_field_tag name, value, end |