Created
December 5, 2014 07:34
-
-
Save feymartynov/ff6d8ca61e7355104ff0 to your computer and use it in GitHub Desktop.
java constructor in jruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyClass | |
java_signature 'MyClass MyClass(java.lang.String someParameter)' | |
def initialize(some_paramter) | |
# … | |
end | |
become_java!(false) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment