Class: Utils::ConfigFile::Probe
- Inherits:
-
BlockConfig
- Object
- BlockConfig
- Utils::ConfigFile::Probe
- Defined in:
- lib/utils/config_file.rb
Instance Method Summary collapse
- #include_dirs_argument ⇒ Object
-
#initialize(&block) ⇒ Probe
constructor
A new instance of Probe.
Methods inherited from BlockConfig
Constructor Details
#initialize(&block) ⇒ Probe
Returns a new instance of Probe.
91 92 93 94 95 96 97 |
# File 'lib/utils/config_file.rb', line 91 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
87 88 89 |
# File 'lib/utils/config_file.rb', line 87 def include_dirs_argument Array(include_dirs) * ':' end |