Class: Muffins::MappingParent
- Inherits:
-
Object
- Object
- Muffins::MappingParent
- Includes:
- Virtus
- Defined in:
- lib/muffins/mapping_parent.rb
Instance Method Summary collapse
Instance Method Details
#map(name, type, options = {}) ⇒ Object
10 11 12 |
# File 'lib/muffins/mapping_parent.rb', line 10 def map(name, type, = {}) ().tap { |opts| klass.map(name, type, opts) } end |