Class: Vurl

Inherits:
Hash
  • Object
show all
Defined in:
lib/vurlify.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

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



53
54
55
56
57
# File 'lib/vurlify.rb', line 53

def method_missing method, *args, &block
  method_name = method.to_s
  return fetch method_name if has_key? method_name
  super
end