Module: Ruboto
- Defined in:
- lib/ruboto.rb,
lib/ruboto/api.rb,
lib/ruboto/util/build.rb,
lib/ruboto/util/update.rb,
lib/ruboto/util/verify.rb,
lib/ruboto/commands/base.rb,
lib/ruboto/util/log_action.rb,
lib/ruboto/util/objectspace.rb,
lib/ruboto/util/scan_in_api.rb,
lib/ruboto/util/xml_element.rb,
lib/ruboto/util/asset_copier.rb,
lib/ruboto/util/code_formatting.rb
Defined Under Namespace
Constant Summary collapse
- GEM_ROOT =
File.dirname(File.dirname(__FILE__))
- ASSETS =
File.join(GEM_ROOT, "assets")
Class Method Summary collapse
-
.enable_objectspace ⇒ Object
Enable ObjectSpace if running in JRuby, for the “main” lib.
Class Method Details
.enable_objectspace ⇒ Object
Enable ObjectSpace if running in JRuby, for the “main” lib
3 4 5 6 7 |
# File 'lib/ruboto/util/objectspace.rb', line 3 def self.enable_objectspace require 'jruby' JRuby.objectspace = true rescue LoadError end |