On 2011-04-26, at 10:25, Uwe Kubosch wrote:

>>> Clearly, we are confused about the issue :)   Where are the "java", "com", 
>>> "net", and "org" packages defined?
>> Found it in  lib/ruby/site_ruby/shared/builtin/javasupport/core_ext/kernel.rb
>> 
>> Will try with a copy of that code.
> 
> Woohoo!  It worked!  Sorry for using you guys as rubber ducks :)


For future reference, the resulting code is like this

module Kernel
  def android
    JavaUtilities.get_package_module_dot_format('android')    
  end
end

--
Uwe Kubosch
Systems Developer
Datek Wireless AS
[email protected]
http://datek.no/




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to