Class: Class

Inherits:
Object
  • Object
show all
Defined in:
lib/gherkin/native/null.rb,
lib/gherkin/native/java.rb,
lib/gherkin/native/therubyracer.rb

Defined Under Namespace

Classes: IOWriter, Proxy

Instance Method Summary collapse

Instance Method Details

#native_impl(lib) ⇒ Object

Causes a Java class to be instantiated instead of the Ruby class when running on JRuby. This is used to test both pure Java and pure Ruby classes from the same Ruby based test suite. The Java Class must have a package name that corresponds with the Ruby class.


24
25
26
# File 'lib/gherkin/native/java.rb', line 24

def native_impl(lib)
  # no-op
end