Class: AskAwesomely::Field::ShortText
- Defined in:
- lib/ask_awesomely/field/short_text.rb
Constant Summary
Constants inherited from Field
Instance Attribute Summary
Attributes inherited from Field
Instance Method Summary collapse
Methods inherited from Field
#ask, #description, #initialize, of_type, #ref, #required, #skip, #tags
Methods included from JsonBuilder
Constructor Details
This class inherits a constructor from AskAwesomely::Field::Field
Instance Method Details
#max_characters(num) ⇒ Object
4 5 6 |
# File 'lib/ask_awesomely/field/short_text.rb', line 4 def max_characters(num) @state.max_characters = num end |