Class: Muffins::MappingParent

Inherits:
Object
  • Object
show all
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, options = {})
  set_options(options).tap { |opts| klass.map(name, type, opts) }
end