module Central::Devtools
The devtools namespace
Self initialization
Constants
- DEFAULT_CONFIG_DIR_NAME
- DEFAULT_CONFIG_PATH
- LIB_DIRECTORY_NAME
- PROJECT
- PROJECT_ROOT
- RAKE_FILES_GLOB
- RAKE_FILE_NAME
- ROOT
- SHARED_PATH
- SHARED_SPEC_PATH
- SHARED_SPEC_PATTERN
- SPEC_DIRECTORY_NAME
- UNIT_TEST_PATH_REGEXP
- VERSION
Public Class Methods
init()
click to toggle source
Initialize project and load tasks. This should only be called from an $application_root/Rakefile.
@return [self] @api public
# File lib/central/devtools.rb, line 54 def self.init Project::Initializer::Rake.call self end
notify_metric_violation(message)
click to toggle source
Abort with message when a metric violation occurs.
@param [String] message @return [undefined] @api private
# File lib/central/devtools.rb, line 45 def self.notify_metric_violation(message) abort(message) end
project()
click to toggle source
Return project.
@return [Project] @api private
# File lib/central/devtools.rb, line 71 def self.project PROJECT end
root()
click to toggle source
Return devtools root path.
@return [Pathname] @api private
# File lib/central/devtools.rb, line 63 def self.root ROOT end