Module: Rounders
- Defined in:
- lib/rounders/generators/base.rb,
lib/rounders.rb,
lib/rounders/mail.rb,
lib/rounders/util.rb,
lib/rounders/rounder.rb,
lib/rounders/version.rb,
lib/rounders/commander.rb,
lib/rounders/brains/base.rb,
lib/rounders/matchers/cc.rb,
lib/rounders/matchers/to.rb,
lib/rounders/matchers/body.rb,
lib/rounders/matchers/from.rb,
lib/rounders/receivers/mail.rb,
lib/rounders/handlers/handler.rb,
lib/rounders/matchers/matcher.rb,
lib/rounders/matchers/subject.rb,
lib/rounders/plugins/pluggable.rb,
lib/rounders/receivers/receiver.rb,
lib/rounders/plugins/plugin_loader.rb,
lib/rounders/commands/local_command.rb,
lib/rounders/commands/global_command.rb,
lib/rounders/generators/app/app_generator.rb,
lib/rounders/commands/sub_commands/generate.rb,
lib/rounders/generators/plugin/plugin_generator.rb,
lib/rounders/generators/handler/handler_generator.rb,
lib/rounders/generators/matcher/matcher_generator.rb,
lib/rounders/generators/receiver/receiver_generator.rb
Overview
rubocop:disable Style/CyclomaticComplexity, Style/AbcSize:
Defined Under Namespace
Modules: Brains, Commands, Generators, Handlers, Matchers, Plugins, Receivers
Classes: Commander, Mail, Rounder, Util
Constant Summary
collapse
- CONFIG_DIR_PATH =
File.join(Dir.pwd, 'config').freeze
- APP_PATH =
File.join(Dir.pwd, 'app').freeze
- VERSION =
'0.4.4'.freeze
Class Method Summary
collapse
Class Method Details
.global? ⇒ Boolean
20
21
22
|
# File 'lib/rounders.rb', line 20
def global?
!Pathname(Rounders::APP_PATH).exist?
end
|
.handlers ⇒ Object
8
9
10
|
# File 'lib/rounders.rb', line 8
def handlers
@_handlers ||= []
end
|
.matchers ⇒ Object
12
13
14
|
# File 'lib/rounders.rb', line 12
def matchers
@_matchers ||= {}
end
|
.receivers ⇒ Object
16
17
18
|
# File 'lib/rounders.rb', line 16
def receivers
@_receivers ||= []
end
|