Module: Representable::Coercion::ClassMethods
- Defined in:
- lib/representable/coercion.rb
Instance Method Summary collapse
Instance Method Details
#property(name, args = {}) ⇒ Object
12 13 14 15 |
# File 'lib/representable/coercion.rb', line 12 def property(name, args={}) attribute(name, args[:type]) if args[:type] # FIXME (in virtus): undefined method `superclass' for VirtusCoercionTest::SongRepresenter:Module super(name, args) end |