Method: ROM::Mapper::DSL::ClassMethods#method_missing
- Defined in:
- lib/rom/mapper/dsl.rb
#method_missing(name, *args, &block) ⇒ Object (private)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Delegate Attribute DSL method to the dsl instance
111 112 113 114 115 116 117 |
# File 'lib/rom/mapper/dsl.rb', line 111 def method_missing(name, *args, &block) if dsl.respond_to?(name) dsl.public_send(name, *args, &block) else super end end |