Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/json-schema-reader.rb
Overview
A little hack to let us reference hash members with dot notation
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym) ⇒ Object
7 8 9 |
# File 'lib/json-schema-reader.rb', line 7 def method_missing sym self[sym.to_s] end |