ruby how to load image relative to source code in jar
|Added at||2016-11-02 06:11|
I have a jruby Swing application in a jar. In my source code
which does not load. My path looks like this
Is there a way to specify the relative path to the image?
In addition, I've found the equivalent way of doing this in Java using getResource
How would I implement this in jruby?