Class: MagicHash
- Inherits:
-
Object
- Object
- MagicHash
- Defined in:
- lib/magic_hash.rb,
lib/magic_hash/version.rb
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
Class Method Details
.new ⇒ Object
4 5 6 |
# File 'lib/magic_hash.rb', line 4 def self.new() Hash.new(&(p = lambda{|hsh, key| hsh[key] = Hash.new(&p)})) end |