Module: VRBO::ClassMethods

Included in:
Calendar
Defined in:
lib/vrbo/class_methods.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_name, *arguments) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/vrbo/class_methods.rb', line 4

def method_missing(method_name, *arguments)
  inst = new
  if inst.respond_to?(method_name)
    inst.send(method_name, *arguments)
  else
    super
  end
end