Method: SafeHash::SafeNil#method_missing
- Defined in:
- lib/crystal/support/safe_hash.rb
#method_missing(m, *args) ⇒ Object
106 107 108 109 110 111 112 113 |
# File 'lib/crystal/support/safe_hash.rb', line 106 def method_missing m, *args m = m.to_s if m.last == '=' raise "No such key!" else self[m, *args] end end |