Class: CeilingCat::Storage::Hash

Inherits:
Base
  • Object
show all
Defined in:
lib/ceiling_cat/storage/hash.rb

Class Method Summary collapse

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