Class: ArrayHash
Overview
a hash which keys are initiated as arrays
default values via Hash.new [] are inadequate for being volatile
Instance Method Summary collapse
Methods inherited from Hash
Instance Method Details
#[](key) ⇒ Object
44 45 46 47 |
# File 'app/lib/lib.rb', line 44 def [] key store key, [] unless has_key? key super end |