How do you access a .class placed, say, in the directory as the .rb?
I read Eric A.'s piece:
but this didn’t seem to contain the answer.
I also found this:
but this didn’t seem to help either.
Somewhere else, I found the suggestion to do something like:
$CLASSPATH << “.”
a = Dino.new
But this returns:
eval': cannot load Java class Dino (NameError) from file:/D:/jruby/lib/jruby.jar!/builtin/javasupport/core_ext/object.rb:52: ininclude_class’
each' from file:/D:/jruby/lib/jruby.jar!/builtin/javasupport/core_ext/object.rb:28: ininclude_class’
What is the canonical method for accessing class files?
To unsubscribe from this list please visit: