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.

URL: http://blog.headius.com/2007/12/groovy-in-ruby-implement-interface-with.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.