Groovy Map as Interface method in JRuby

/ Published in: Ruby
Save to your folder(s)

Groovy has the as keyword which enables the implementation of a Java interface by using the as keyword, its quite easy to mimic this in JRuby.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.