Module: Reform::Form::Scalar::Property
- Included in:
- Reform::Form
- Defined in:
- lib/reform/form/scalar.rb
Overview
TODO: change the way i hook into ::property.
Instance Method Summary collapse
Instance Method Details
#property(name, options = {}, &block) ⇒ Object
44 45 46 47 48 49 50 |
# File 'lib/reform/form/scalar.rb', line 44 def property(name, ={}, &block) if [:scalar] .merge!(:features => [Reform::Form::Scalar], populate_if_empty: String) end super end |