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
Instance Attribute Summary collapse
-
#config_dir ⇒ Pathname
readonly
private
Return config directory.
-
#default_config_path ⇒ Pathname
readonly
private
The default config path.
-
#devtools ⇒ Config::Devtools
readonly
private
The devtools configuration.
-
#file_pattern ⇒ Pathname
readonly
private
The Ruby file pattern.
-
#flay ⇒ Config::Flay
readonly
private
The flay configuration.
-
#flog ⇒ Config::Flog
readonly
private
The flog configuration.
-
#lib_dir ⇒ Pathname
readonly
private
The lib directory.
-
#mutant ⇒ Config::Mutant
readonly
private
The mutant configuration.
-
#reek ⇒ Config::Reek
readonly
private
The reek configuration.
-
#root ⇒ Pathname
readonly
private
Return project root.
-
#rubocop ⇒ Config::Rubocop
readonly
private
The rubocop configuration.
-
#spec_root ⇒ Pathname
readonly
private
The spec root.
-
#unit_test_timeout ⇒ Numeric
readonly
private
The unit test timeout.
-
#yardstick ⇒ Config::Yardstick
readonly
private
The yardstick configuration.
Instance Method Summary collapse
-
#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
115 116 117 118 119 120 121 122 |
# File 'lib/devtools/project.rb', line 115 def initialize(root) @root = root initialize_environment initialize_configs @unit_test_timeout = @devtools.unit_test_timeout end |
Instance Attribute Details
#config_dir ⇒ 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.
Return config directory
98 99 100 |
# File 'lib/devtools/project.rb', line 98 def config_dir @config_dir end |
#default_config_path ⇒ 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 default config path
70 71 72 |
# File 'lib/devtools/project.rb', line 70 def default_config_path @default_config_path end |
#devtools ⇒ Config::Devtools (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 devtools configuration
55 56 57 |
# File 'lib/devtools/project.rb', line 55 def devtools @devtools end |
#file_pattern ⇒ 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 Ruby file pattern
84 85 86 |
# File 'lib/devtools/project.rb', line 84 def file_pattern @file_pattern end |
#flay ⇒ Config::Flay (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 flay configuration
41 42 43 |
# File 'lib/devtools/project.rb', line 41 def flay @flay end |
#flog ⇒ Config::Flog (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 flog configuration
27 28 29 |
# File 'lib/devtools/project.rb', line 27 def flog @flog end |
#lib_dir ⇒ 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 lib directory
77 78 79 |
# File 'lib/devtools/project.rb', line 77 def lib_dir @lib_dir end |
#mutant ⇒ Config::Mutant (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 mutant configuration
48 49 50 |
# File 'lib/devtools/project.rb', line 48 def mutant @mutant end |
#reek ⇒ Config::Reek (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 reek configuration
13 14 15 |
# File 'lib/devtools/project.rb', line 13 def reek @reek end |
#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.
Return project root
63 64 65 |
# File 'lib/devtools/project.rb', line 63 def root @root end |
#rubocop ⇒ Config::Rubocop (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 rubocop configuration
20 21 22 |
# File 'lib/devtools/project.rb', line 20 def rubocop @rubocop end |
#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
91 92 93 |
# File 'lib/devtools/project.rb', line 91 def spec_root @spec_root end |
#unit_test_timeout ⇒ Numeric (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 unit test timeout
105 106 107 |
# File 'lib/devtools/project.rb', line 105 def unit_test_timeout @unit_test_timeout end |
#yardstick ⇒ Config::Yardstick (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 yardstick configuration
34 35 36 |
# File 'lib/devtools/project.rb', line 34 def yardstick @yardstick end |