Sha256: 2fff2f1085cb403ba83e613e3d62d89c39405ebf75c494cc4ce2c023e70c1d4c
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 Bytes
Contents
module Stimul8 module Storage class InMemory include Stimul8::Storage def initialize @components = {} end def write component_id, property_name, value @components[key_for(component_id, property_name)] = value end def read component_id, property_name @components[key_for(component_id, property_name)] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stimul8-0.1.0 | lib/stimul8/storage/in_memory.rb |