Method: Macker::Config#method_missing

Defined in:
lib/macker/config.rb

#method_missing(method, *args, &block) ⇒ Object

Send missing methods to the OpenStruct configuration.

Parameters:

  • method (String)

    the missing method name

  • *args (Array)

    list of arguments of the missing method

Returns:

  • (Object)

    a configuration parameter



30
31
32
# File 'lib/macker/config.rb', line 30

def method_missing(method, *args, &block)
  @config.send(method, *args, &block)
end