Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 27f0329aa8
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (14 sloc) 0.382 kB
#!/usr/bin/env ruby
require 'mltpp'
def command
puts "command"
end
def push
puts "push"
end
miracle = Mltpp::Miracle.new( "miracle-ruby", 5260 )
miracle.start
miracle.execute( "uadd sdl" )
listener = Mltpp::Listener.new( miracle, "command-received", method( :command ) )
listener = Mltpp::Listener.new( miracle, "push-received", method( :push ) )
miracle.wait_for_shutdown
Jump to Line
Something went wrong with that request. Please try again.