Files

Thoth::Config

Public Class Methods

load(file) click to toggle source
# File lib/thoth/config.rb, line 79
def load(file)
  begin
    Kernel.load(file)
  rescue LoadError => e
    raise Thoth::Error, "Unable to load config file: #{file}: #{e}"
  end

  @conf = Configuration.for("thoth_#{Thoth.trait[:mode].to_s}")
end
method_missing(name) click to toggle source
# File lib/thoth/config.rb, line 89
def method_missing(name)
  @conf.__send__(name)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.