Sha256: 97e1415c124ad221bcc9dd4df1cd2c22619e4ac4e48a860d6bd94a0f11f5bdd8

Contents?: true

Size: 184 Bytes

Versions: 47

Compression:

Stored size: 184 Bytes

Contents

module Ruboto
  # Enable ObjectSpace if running in JRuby, for the "main" lib
  def self.enable_objectspace
    require 'jruby'
    JRuby.objectspace = true
  rescue LoadError
  end
end

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
ruboto-1.6.1 lib/ruboto/util/objectspace.rb
ruboto-1.6.0 lib/ruboto/util/objectspace.rb
ruboto-1.5.0 lib/ruboto/util/objectspace.rb
ruboto-1.4.1 lib/ruboto/util/objectspace.rb
ruboto-1.4.0 lib/ruboto/util/objectspace.rb
ruboto-1.3.1 lib/ruboto/util/objectspace.rb
ruboto-1.3.0 lib/ruboto/util/objectspace.rb
ruboto-1.2.0 lib/ruboto/util/objectspace.rb
ruboto-1.1.2 lib/ruboto/util/objectspace.rb
ruboto-1.1.1 lib/ruboto/util/objectspace.rb
ruboto-1.1.0 lib/ruboto/util/objectspace.rb
ruboto-1.0.3 lib/ruboto/util/objectspace.rb
ruboto-1.0.2 lib/ruboto/util/objectspace.rb
ruboto-1.0.1 lib/ruboto/util/objectspace.rb
ruboto-1.0.0 lib/ruboto/util/objectspace.rb
ruboto-0.16.0 lib/ruboto/util/objectspace.rb
ruboto-0.15.0 lib/ruboto/util/objectspace.rb
ruboto-0.14.0 lib/ruboto/util/objectspace.rb
ruboto-0.13.0 lib/ruboto/util/objectspace.rb
ruboto-0.12.0 lib/ruboto/util/objectspace.rb