Module: Routemaster::Config::Classmethods

Included in:
Routemaster::Config
Defined in:
lib/routemaster/config.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

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



11
12
13
# File 'lib/routemaster/config.rb', line 11

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

Instance Method Details

#respond_to?(method, include_all = false) ⇒ Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/routemaster/config.rb', line 15

def respond_to?(method, include_all = false)
  instance.respond_to?(method, include_all)
end