Module: Flatter::Mapper::Mounting::ClassMethods
- Defined in:
- lib/flatter/mapper/mounting.rb
Instance Method Summary collapse
Instance Method Details
#mount(name, *args) ⇒ Object
15 16 17 |
# File 'lib/flatter/mapper/mounting.rb', line 15 def mount(name, *args) mountings[name.to_s] = Flatter::Mapper::Factory.new(name, *args) end |
#mountings ⇒ Object
19 20 21 |
# File 'lib/flatter/mapper/mounting.rb', line 19 def mountings @mountings ||= {} end |
#mountings=(val) ⇒ Object
23 24 25 |
# File 'lib/flatter/mapper/mounting.rb', line 23 def mountings=(val) @mountings = val end |