Method: Utils::ConfigFile::Probe#initialize

Defined in:
lib/utils/config_file.rb

#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