Module: Ruboto

Defined in:
lib/ruboto.rb,
lib/ruboto/api.rb,
lib/ruboto/version.rb,
lib/ruboto/util/build.rb,
lib/ruboto/util/setup.rb,
lib/ruboto/description.rb,
lib/ruboto/util/update.rb,
lib/ruboto/util/verify.rb,
lib/ruboto/sdk_versions.rb,
lib/ruboto/commands/base.rb,
lib/ruboto/sdk_locations.rb,
lib/ruboto/util/emulator.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

Modules: API, Commands, SdkLocations, SdkVersions, Util

Constant Summary collapse

GEM_ROOT =
File.dirname(File.dirname(__FILE__))
ASSETS =
File.join(GEM_ROOT, 'assets')
VERSION =
'1.6.1'
UPDATE_VERSION_LIMIT =
'0.7.0'
DESCRIPTION =
<<EOF
Ruboto (JRuby on Android) is a platform for developing full stand-alone apps for
Android using the Ruby language and libraries.  It includes support libraries
and generators for creating projects, classes, tests, and more.  The complete
APIs of Android, Java, and Ruby are available to you using the Ruby language.
EOF

Class Method Summary collapse

Class Method Details

.enable_objectspaceObject

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