Module: Rounders
- Defined in:
- lib/rounders/generators/base.rb,
lib/rounders.rb,
lib/rounders/mail.rb,
lib/rounders/util.rb,
lib/rounders/logger.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/matchers/filename.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, Logger, Matchers, Plugins, Receivers Classes: Commander, Mail, Rounder, Util
Constant Summary collapse
- CONFIG_DIR_PATH =
Your code goes here…
File.join(Dir.pwd, 'config').freeze
- APP_PATH =
File.join(Dir.pwd, 'app').freeze
- VERSION =
'0.5.2'.freeze
Class Attribute Summary collapse
-
.logger ⇒ Object
Returns the value of attribute logger.
Class Method Summary collapse
Class Attribute Details
.logger ⇒ Object
Returns the value of attribute logger.
19 20 21 |
# File 'lib/rounders.rb', line 19 def logger @logger end |
Class Method Details
.global? ⇒ Boolean
33 34 35 |
# File 'lib/rounders.rb', line 33 def global? !Pathname(Rounders::APP_PATH).exist? end |
.handlers ⇒ Object
21 22 23 |
# File 'lib/rounders.rb', line 21 def handlers @_handlers ||= [] end |
.matchers ⇒ Object
25 26 27 |
# File 'lib/rounders.rb', line 25 def matchers @_matchers ||= {} end |
.receivers ⇒ Object
29 30 31 |
# File 'lib/rounders.rb', line 29 def receivers @_receivers ||= [] end |