Module: Yarr

Defined in:
lib/yarr/bot.rb,
lib/yarr/command/concern/responder.rb,
lib/yarr/ast.rb,
lib/yarr/query.rb,
lib/yarr/no_irc.rb,
lib/yarr/command.rb,
lib/yarr/version.rb,
lib/yarr/database.rb,
lib/yarr/command/ri.rb,
lib/yarr/query/fact.rb,
lib/yarr/command/ops.rb,
lib/yarr/query/klass.rb,
lib/yarr/command/base.rb,
lib/yarr/command/fact.rb,
lib/yarr/command/fake.rb,
lib/yarr/command/list.rb,
lib/yarr/input_parser.rb,
lib/yarr/query/method.rb,
lib/yarr/query/origin.rb,
lib/yarr/configuration.rb,
lib/yarr/command/renick.rb,
lib/yarr/command/evaluate.rb,
lib/yarr/evaluator_service.rb,
lib/yarr/message/truncator.rb,
lib/yarr/query/url_corrector.rb,
lib/yarr/command/concern/user.rb,
lib/yarr/command/url_evaluate.rb,
lib/yarr/command/concern/authorize.rb,
lib/yarr/command/concern/ast_digger.rb

Overview

The rubydoc lookup bot

Defined Under Namespace

Modules: Command, Message, NoIRC, Query Classes: AST, Bot, Configuration, Database, EvaluatorService, InputParser

Constant Summary collapse

VERSION =

Gem version

'0.1.0'.freeze
DB =

The application's database connection. A Database instance.

Database.new
PROJECT_ROOT =

The root directory of the project

File.join(File.dirname(__FILE__), '..', '..').freeze
CONFIG_PATH =

The config file path

File.join(PROJECT_ROOT, 'config').freeze

Class Method Summary collapse

Class Method Details

.configurationConfiguration Also known as: config


71
72
73
# File 'lib/yarr/configuration.rb', line 71

def configuration
  Configuration.new
end