Class: RBCM::ArrayHash

Inherits:
Hash
  • Object
show all
Defined in:
app/lib/array_hash.rb

Overview

a hash which keys are initiated as arrays default values via RBCM::‘Hash.new []` are inadequate for being volatile

Instance Method Summary collapse

Methods inherited from Hash

#<<

Instance Method Details

#[](key) ⇒ Object



5
6
7
8
# File 'app/lib/array_hash.rb', line 5

def [] key
  store key, [] unless has_key? key
  super
end