Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/java_head.rb
Instance Method Summary collapse
-
#java ⇒ JavaHead::Package, JavaHead::Class
This method allows more convenience in initializing JavaHead objects.
Instance Method Details
#java ⇒ JavaHead::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
78 79 80 |
# File 'lib/java_head.rb', line 78 def java JavaHead.member self end |