Class: Devtools::Project
- Inherits:
-
Object
- Object
- Devtools::Project
- Defined in:
- lib/devtools/project.rb,
lib/devtools/project/initializer.rb,
lib/devtools/project/initializer/rake.rb,
lib/devtools/project/initializer/rspec.rb
Overview
The project devtools supports
Defined Under Namespace
Classes: Initializer
Constant Summary collapse
- CONFIGS =
{ devtools: Config::Devtools, flay: Config::Flay, flog: Config::Flog, reek: Config::Reek, mutant: Config::Mutant, rubocop: Config::Rubocop, yardstick: Config::Yardstick }.freeze
Instance Attribute Summary collapse
-
#spec_root ⇒ Pathname
readonly
private
The spec root.
Instance Method Summary collapse
-
#init_rspec ⇒ self
private
Init rspec.
-
#initialize(root) ⇒ undefined
constructor
private
Initialize object.
Constructor Details
#initialize(root) ⇒ undefined
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initialize object
36 37 38 39 40 41 |
# File 'lib/devtools/project.rb', line 36 def initialize(root) super(root) initialize_environment initialize_configs end |
Instance Attribute Details
#spec_root ⇒ Pathname (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
The spec root
26 27 28 |
# File 'lib/devtools/project.rb', line 26 def spec_root @spec_root end |
Instance Method Details
#init_rspec ⇒ self
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Init rspec
48 49 50 51 |
# File 'lib/devtools/project.rb', line 48 def init_rspec Initializer::Rspec.call(self) self end |