Module: Thoth::Config

### Home Classes Methods

### In Files

- lib/thoth/config.rb

### Methods

- ::load
- ::method_missing

### Files

- robots.txt

### Class/Module Index

Quicksearch

- Thoth
- Thoth::AdminController
- Thoth::ArchiveController
- Thoth::Comment
- Thoth::CommentApiController
- Thoth::CommentController
- Thoth::Config
- Thoth::Error
- Thoth::Importer
- Thoth::MainController
- Thoth::Media
- Thoth::MediaController
- Thoth::MinifyController
- Thoth::Page
- Thoth::PageApiController
- Thoth::PageController
- Thoth::Pager
- Thoth::Plugin
- Thoth::Plugin::Delicious
- Thoth::Plugin::Flickr
- Thoth::Plugin::Tags
- Thoth::Plugin::Twitter
- Thoth::Post
- Thoth::PostApiController
- Thoth::PostController
- Thoth::SchemaError
- Thoth::SearchController
- Thoth::Tag
- Thoth::TagApiController
- Thoth::TagController
- Thoth::TagsPostsMap
- Ramaze
- Ramaze::Dispatcher
- Ramaze::Dispatcher::File
- Ramaze::Helper
- Ramaze::Helper::Admin
- Ramaze::Helper::Cookie
- Ramaze::Helper::Error
- Ramaze::Helper::Pagination
- Ramaze::Helper::Sanitize
- Ramaze::Helper::Wiki
- Ramaze::Helper::Ysearch
- Ramaze::Helper::Ysearch::SearchError
- AddMediaSize
- CreateSchema
- PantsImporter
- PoseidonImporter

No matching classes.

# 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.