# File lib/gherkin/native/therubyracer.rb, line 4 def native_impl(lib) class << self def new(*args) js = { # Add more mappings here if needed. The mappings are only used by test code. 'Gherkin::Formatter::JSONFormatter' => 'js/lib/gherkin/formatter/json_formatter.js', 'Gherkin::Lexer::En' => 'js/lib/gherkin/lexer/en.js' }[self.name] if(js) Proxy.new(js, *args) else super(*args) end end end end