#coding:utf-8require "dxruby"require "./test2.rb" phase = 0test2 = nilInput.set_repeat(40 , 20)Window.loop do exit if Input.keyDown? K_ESCAPE case phase when 0 if Input.keyPush? K_A phase = 1 test2 = Test2.new end when 1 test2.update endend
Standard input is empty
Standard output is empty
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- dxruby (LoadError) from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' from prog.rb:2:in `<main>'
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!