class Cucumber::RbSupport::RbLanguage
Public Instance Methods
load_code_file(code_file)
click to toggle source
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…
# File lib/nitra/ext/cucumber.rb, line 10 def load_code_file(code_file) require File.expand_path(code_file) end