Sha256: 8e1c631cc263b95fef6a0d2c61f943dd12b6e73e7f71137518cc743910ec2579

Contents?: true

Size: 376 Bytes

Versions: 4

Compression:

Stored size: 376 Bytes

Contents

module Mirah
  module Util

    ClassLoader = Java::OrgMirah::MirahClassLoader

    # converts string to a java string w/ binary encoding
    # might be able to avoid this in 1.9 mode
    def ClassLoader.binary_string string
        java.lang.String.new string.to_java_bytes, "ISO-8859-1"
    end

    IsolatedResourceLoader = Java::OrgMirah::IsolatedResourceLoader
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mirah-0.1.2-java lib/mirah/util/class_loader.rb
mirah-0.1.1-java lib/mirah/util/class_loader.rb
mirah-0.1.0-java lib/mirah/util/class_loader.rb
mirah-0.1.0.pre-java lib/mirah/util/class_loader.rb