Skip to content

Instantly share code, notes, and snippets.

@seadowg
Created February 12, 2012 16:18
Show Gist options
  • Save seadowg/1809421 to your computer and use it in GitHub Desktop.
Save seadowg/1809421 to your computer and use it in GitHub Desktop.
Using echo in JRuby
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