class Develry::Project
The project develry supports
Attributes
Return config directory
@return [Pathname]
@api private
The default config path
@return [Pathname]
@api private
The develry configuration
@return [Config::Develry]
@api private
The Ruby file pattern
@return [Pathname]
@api private
The flay configuration
@return [Config::Flay]
@api private
The flog configuration
@return [Config::Flog]
@api private
The lib directory
@return [Pathname]
@api private
The mutant configuration
@return [Config::Mutant]
@api private
The reek configuration
@return [Config::Reek]
@api private
Return project root
@return [Pathname]
@api private
The rubocop configuration
@return [Config::Rubocop]
@api private
The spec root
@return [Pathname]
@api private
The unit test timeout
@return [Numeric]
@api private
The yardstick configuration
@return [Config::Yardstick]
@api private
Public Class Methods
Initialize object
@param [Pathname] root
@return [undefined]
@api private
# File lib/develry/project.rb, line 122 def initialize(root) @root = root @shared_gemfile_path = @root.join(GEMFILE_NAME).freeze @default_config_path = @root.join(DEFAULT_CONFIG_DIR_NAME).freeze @lib_dir = @root.join(LIB_DIRECTORY_NAME).freeze @spec_root = @root.join(SPEC_DIRECTORY_NAME).freeze @file_pattern = @lib_dir.join(RB_FILE_PATTERN).freeze @config_dir = @default_config_path @reek = Config::Reek.new(self) @rubocop = Config::Rubocop.new(self) @flog = Config::Flog.new(self) @yardstick = Config::Yardstick.new(self) @flay = Config::Flay.new(self) @mutant = Config::Mutant.new(self) @develry = Config::Develry.new(self) @unit_test_timeout = @develry.unit_test_timeout end