@Override
    public Enumeration<URL> getResources(final String name) throws IOException {
        final Vector<URL> resources = new Vector<>();

        final Enumeration<URL> parentResources = this.getParent().getResources(name);
        while (parentResources.hasMoreElements()) {
            resources.add(parentResources.nextElement());
        }

        final Enumeration<URL> childResources = this.findResources(name);
        while (childResources.hasMoreElements()) {
            resources.add(childResources.nextElement());
        }

        return resources.elements();
    }
Finds the resource with the given name from JRuby.

<p>It prioritizes a resource found by this class loader over a class loaded by the parent class loader.
embulk-core/src/main/java/org/embulk/jruby/JRubyClassLoader.java