Created
February 12, 2012 16:18
-
-
Save seadowg/1809421 to your computer and use it in GitHub Desktop.
Using echo in JRuby
This file contains hidden or 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
include Java | |
require '$SCALA_HOME/scala-library.jar' | |
require 'lib/echo.jar' | |
include_class Java::com.github.oetzi.echo.core.Behaviour | |
include_class Java::com.github.oetzi.echo.core.Event | |
beh = Behaviour.new { | time | 5 } | |
event = Event.new | |
beh.at(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment