Class: Cucumber::RbSupport::RbLanguage

Inherits:
Object
  • Object
show all
Defined in:
lib/nitra/ext/cucumber.rb

Instance Method Summary collapse

Instance Method Details

#load_code_file(code_file) ⇒ Object

Reloading support files is bad for us. Idealy we’d subclass but since Cucumber’s internals are a bit shit and insists on using the new keyword everywhere we have to monkeypatch it out or spend another 6 months rewriting it and getting patches accepted…



10
11
12
# File 'lib/nitra/ext/cucumber.rb', line 10

def load_code_file(code_file)
  require File.expand_path(code_file)
end