Sha256: 9a13dcbe4e6a9853792e99987a4fe18ac584a0c09cd9d6c8997dcd208b3f0bad

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

require "java"
require "jruby_coercion/version"
require "jruby_coercion/converter"
require "jruby_coercion/coercable"

module JrubyCoercion

  def self.native_type?(java_type)
    java_type.class == Java::JavaClass
  end

  def self.ruby_type?(java_type)
    java_type.class == Class
  end

end

require "jruby_coercion/ruby_to_java/registry"
require "jruby_coercion/numeric"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jruby_coercion-0.0.5-java lib/jruby_coercion.rb
jruby_coercion-0.0.4-java lib/jruby_coercion.rb