Method: HID::Persistence::Memory::Identifier.map
- Defined in:
- lib/hid/persistence/memory/identifier.rb
.map(input, identity, type) ⇒ Object
12 13 14 15 16 |
# File 'lib/hid/persistence/memory/identifier.rb', line 12 def map(input, identity, type) type_hash = store[type] ||= Hash.new type_hash[input] = identity nil end |