Module: Hypostasis::Shared::Fields::ClassMethods
- Defined in:
- lib/hypostasis/shared/fields.rb
Instance Method Summary collapse
Instance Method Details
#field(name, options = {}) ⇒ Object
10 11 12 13 |
# File 'lib/hypostasis/shared/fields.rb', line 10 def field(name, = {}) register_field(name.to_sym) create_accessors(name.to_s, ) end |