Sha256: e15b224a5b54110d5d1526c86d2f4a6eb24cb200730e7187b90f75750e8a97aa

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 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"
require "jruby_coercion/string"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jruby_coercion-0.0.7-java lib/jruby_coercion.rb
jruby_coercion-0.0.6-java lib/jruby_coercion.rb