Sha256: 4b26d0437a10c83eb739f2cf0aaf80cf7ad90f3ed63546358cb464c0ace3cff7
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
module FlareUp class OptionStore def self.store_option(name, value) storage[name] = value end def self.store_options(options) storage.merge!(options) end def self.get(name) storage[name] end def self.get_options storage end def self.clear storage.clear end def self.storage @storage ||= {} end private_class_method :storage end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flare-up-0.10 | lib/flare_up/option_store.rb |
flare-up-0.9 | lib/flare_up/option_store.rb |
flare-up-0.8 | lib/flare_up/option_store.rb |