Class: Central::Devtools::Project
- Inherits:
-
Object
- Object
- Central::Devtools::Project
- Defined in:
- lib/central/devtools/project.rb,
lib/central/devtools/project/initializer.rb,
lib/central/devtools/project/initializer/rake.rb,
lib/central/devtools/project/initializer/rspec.rb
Defined Under Namespace
Classes: Initializer
Constant Summary collapse
- CONFIGS =
{ container: Config::Container, 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
38 39 40 41 42 43 |
# File 'lib/central/devtools/project.rb', line 38 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
28 29 30 |
# File 'lib/central/devtools/project.rb', line 28 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
50 51 52 53 |
# File 'lib/central/devtools/project.rb', line 50 def init_rspec Initializer::Rspec.call(self) self end |