Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/java_head.rb

Instance Method Summary collapse

Instance Method Details

#javaJavaHead::Package, JavaHead::Class

This method allows more convenience in initializing JavaHead objects. For instance: Java::Package.get(‘com.example.shapes’) to be written: ‘com.example.shapes’.java and Java::Class.new(‘com.example.shapes.Circle’) to be written as ‘com.example.shapes.Circle’.java

Returns:



78
79
80
# File 'lib/java_head.rb', line 78

def java
  JavaHead.member self
end