Method: Interface::DSL#method_missing
- Defined in:
- lib/interface/dsl.rb
#method_missing(meth, *args, &block) ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/interface/dsl.rb', line 33 def method_missing(meth, *args, &block) super unless respond_to?(:interfaces) || respond_to?(:points) if interfaces.respond_to?(meth) interfaces.send(meth) elsif points.respond_to?(meth) points.send(meth) else super end end |