module Ruboto::API
Public Class Methods
api()
click to toggle source
# File lib/ruboto/api.rb, line 10 def api @api ||= begin log_action("Loading Android API") do api = File.expand_path(Ruboto::GEM_ROOT + "/lib/java_class_gen/android_api.xml") abort "cannot find android_api.xml to extract info from it." unless File.exists? api scan_in_api(File.read(api))["api"][0] end end end