Class: Utils::Config::ConfigFile::Probe
Instance Method Summary
collapse
Methods inherited from BlockConfig
config, inherited, #to_ruby
Constructor Details
#initialize(&block) ⇒ Probe
89
90
91
92
93
94
95
|
# File 'lib/utils/config/config_file.rb', line 89
def initialize(&block)
super
test_frameworks_allowed = [ :'test-unit', :rspec ]
test_frameworks_allowed.include?(test_framework) or
raise ConfigFileError,
"test_framework has to be in #{test_frameworks_allowed.inspect}"
end
|
Instance Method Details
#include_dirs_argument ⇒ Object
85
86
87
|
# File 'lib/utils/config/config_file.rb', line 85
def include_dirs_argument
Array(include_dirs) * ':'
end
|