Sha256: bc1292501e289eb2c490520b5dd9c81963622264245d61c11712069daae52b0d

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

def luruju_bin(file) File.join File.dirname(__FILE__),'..','..','bin', file end

def am_i_jruby?
  require "java"
  self.class.method_defined? :include_class
rescue LoadError
  false
end

def am_i_cruby?() !am_i_jruby? end
def ruby_vm_name() am_i_jruby? ? 'jruby' : 'cruby' end

Inflector.inflections do |inflect| 
  inflect.irregular 'schema', 'schemata' 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
luruju-0.2.0 lib/luruju/prepare.rb