Class: Noodall::TextField
- Defined in:
- app/models/noodall/text_field.rb
Instance Method Summary collapse
Methods inherited from Field
#default_class, #default_label, #mandatory?, #underscored_name
Instance Method Details
#constrain_rows ⇒ Object
7 8 9 10 |
# File 'app/models/noodall/text_field.rb', line 7 def constrain_rows rows = rows.to_i rows = 1 if rows < 1 end |