module Devtools

Main devtools namespace population

Devtools self initialization

Constants

DEFAULT_CONFIG_DIR_NAME
DEFAULT_CONFIG_PATH
LIB_DIRECTORY_NAME
PROJECT

The project devtools is active for

PROJECT_ROOT
RAKE_FILES_GLOB
RAKE_FILE_NAME
ROOT
SHARED_PATH
SHARED_SPEC_PATH
SHARED_SPEC_PATTERN
SPEC_DIRECTORY_NAME
UNIT_TEST_PATH_REGEXP

Public Class Methods

init_rake_tasks() click to toggle source

Initialize project and load tasks

Should only be called from your $application_root/Rakefile

@return [self]

@api public

# File lib/devtools.rb, line 58
def self.init_rake_tasks
  Project::Initializer::Rake.call
  self
end
notify_metric_violation(msg) click to toggle source

React to metric violation

@param [String] msg

@return [undefined]

@api private

# File lib/devtools.rb, line 47
def self.notify_metric_violation(msg)
  abort(msg)
end
project() click to toggle source

Return project

@return [Project]

@api private

# File lib/devtools.rb, line 77
def self.project
  PROJECT
end
root() click to toggle source

Return devtools root path

@return [Pathname]

@api private

# File lib/devtools.rb, line 68
def self.root
  ROOT
end