Create a gist now
Instantly share code, notes, and snippets.
HTTPS clone URL
Subversion checkout URL
Shows a JRuby implementation of a Java interface that surprisingly works with 'include' statement.
|# Shouldn't this fail with the 'include Runnable' disabled?|
|# include Runnable|
|puts "I'm running!"|
|new_thread = java.lang.Thread.new(SampleRunnable.new)|