Sha256: f8d6213bc1a819956d25d6c9dfa31485f7f387d4b138c7fd35e42c60dcddd9ec
Contents?: true
Size: 252 Bytes
Versions: 1
Compression:
Stored size: 252 Bytes
Contents
module Novel class Container attr_reader :_container def initialize @_container = {} end def register(key, object) _container[key.to_s] = object end def resolve(key) _container[key.to_s] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
novel-0.3.0 | lib/novel/container.rb |