Sha256: c2337bea3d1d6706efe219b2fcf60d7da4b43ed2522f43471b178c07ae2f2369

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 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

2 entries across 2 versions & 1 rubygems

Version Path
mirah-0.0.12-java lib/mirah/util/class_loader.rb
mirah-0.0.11-java lib/mirah/util/class_loader.rb