Module: RGhost::Constants::HashKeyMethod

Included in:
HashKeyMethodClass
Defined in:
lib/rghost/constants.rb

Overview

:nodoc:

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object


5
6
7
# File 'lib/rghost/constants.rb', line 5

def method_missing(method, *args)
  self[method.to_sym]
end