Module: Quiver::Mapper::ClassMethods
- Defined in:
- lib/quiver/mapper.rb
Instance Method Summary collapse
Instance Method Details
#type_attribute(attr_name = nil) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/quiver/mapper.rb', line 8 def type_attribute(attr_name=nil) if attr_name @type_attribute = attr_name end @type_attribute end |