Methods

AppConfig::Storage::Memory

Public Class Methods

new(options) click to toggle source
# File lib/app_config/storage/memory.rb, line 5
def initialize(options)
  @data = Hashish.new(options)
end

Public Instance Methods

[](key) click to toggle source
# File lib/app_config/storage/memory.rb, line 9
def [](key)
  @data[key]
end
[]=(key, value) click to toggle source
# File lib/app_config/storage/memory.rb, line 13
def []=(key, value)
  @data[key] = value
end
empty?() click to toggle source
# File lib/app_config/storage/memory.rb, line 17
def empty?
  @data.empty?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.