lib/apia/defineable.rb
# Passes all other values through to the DSL for the definition if
# the DSL supoprts it.
Passes all other values through to the DSL for the definition if
the DSL supoprts it.
Passes all other values through to the DSL for the definition if the DSL supoprts it .
def method_missing(name, *args, **kwargs, &block)
      if definition.dsl.respond_to?(name)
        if kwargs.empty?
          definition.dsl.send(name, *args, &block)
        else
          definition.dsl.send(name, *args, **kwargs, &block)
        end
      else
        super
      end
    end
def method_missing ( name , * args , ** kwargs , & block ) if definition . dsl . respond_to? ( name ) if kwargs . empty? definition . dsl . send ( name , * args , & block ) else definition . dsl . send ( name , * args , ** kwargs , & block ) end else super end end
Passes all other values through to the DSL for the definition if
the DSL supoprts it.
Passes all other values through to the DSL for the definition if the DSL supoprts it .
name
<not_specific>
args
<not_specific>
kwargs
<not_specific>
block
<not_specific>