Class/Module Index [+]

Quicksearch

Cinch::Configuration::Storage

@since 2.0.0

Constants

KnownOptions

Public Class Methods

default_config() click to toggle source
# File lib/cinch/configuration/storage.rb, line 10
def self.default_config
  {
    :backend => Cinch::Storage::Null
  }
end

Public Instance Methods

load(new_config, from_default) click to toggle source
# File lib/cinch/configuration/storage.rb, line 16
def load(new_config, from_default)
  _new_config = {}
  new_config.each do |option, value|
    case option
    when :backend
      _new_config[option] = Cinch::Utilities::Kernel.string_to_const(value)
    else
      _new_config[option] = value
    end
  end

  super(_new_config, from_default)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.