Class: CeilingCat::Storage::Hash
- Defined in:
- lib/ceiling_cat/storage/hash.rb
Class Method Summary collapse
-
.[](k) ⇒ Object
Returns the value at key
k
. -
.[]=(k, v) ⇒ Object
Stores
v
in the hash.
Class Method Details
.[](k) ⇒ Object
Returns the value at key k
.
12 13 14 |
# File 'lib/ceiling_cat/storage/hash.rb', line 12 def [](k) internal[k] end |
.[]=(k, v) ⇒ Object
Stores v
in the hash.
7 8 9 |
# File 'lib/ceiling_cat/storage/hash.rb', line 7 def []=(k, v) internal[k] = v end |