Module: Marvin

Includes:
Perennial
Defined in:
lib/marvin/dsl.rb,
lib/marvin.rb,
lib/marvin/irc.rb,
lib/marvin/base.rb,
lib/marvin/util.rb,
lib/marvin/console.rb,
lib/marvin/parsers.rb,
lib/marvin/exceptions.rb,
lib/marvin/middle_man.rb,
lib/marvin/distributed.rb,
lib/marvin/irc/replies.rb,
lib/marvin/test_client.rb,
lib/marvin/core_commands.rb,
lib/marvin/client/actions.rb,
lib/marvin/abstract_client.rb,
lib/marvin/abstract_parser.rb,
lib/marvin/command_handler.rb,
lib/marvin/logging_handler.rb,
lib/marvin/parsers/command.rb,
lib/marvin/parsers/prefixes.rb,
lib/marvin/exception_tracker.rb,
lib/marvin/distributed/client.rb,
lib/marvin/distributed/server.rb,
lib/marvin/distributed/handler.rb,
lib/marvin/distributed/protocol.rb,
lib/marvin/parsers/ragel_parser.rb,
lib/marvin/parsers/simple_parser.rb,
lib/marvin/client/default_handlers.rb,
lib/marvin/parsers/prefixes/server.rb,
lib/marvin/parsers/prefixes/host_mask.rb

Overview

Handy Dandy DSL style stuff for Marvin

Defined Under Namespace

Modules: Distributed, IRC, Parsers, Util Classes: AbstractClient, AbstractParser, Base, CommandHandler, Console, CoreCommands, DSL, Error, ExceptionTracker, HaltHandlerProcessing, LoggingHandler, MiddleMan, TestClient, UnparseableMessage

Constant Summary collapse

VERSION =
[0, 8, 0, 1]

Class Method Summary collapse

Class Method Details

.handler_parent_classesObject



3
4
5
# File 'lib/marvin/base.rb', line 3

def self.handler_parent_classes
  @@handler_parent_classes ||= Hash.new { |h,k| h[k] = Set.new }
end

.version(include_minor = false) ⇒ Object



42
43
44
# File 'lib/marvin.rb', line 42

def self.version(include_minor = false)
  VERSION[0, (include_minor ? 4 : 3)].join(".")
end