Sha256: dda980e1480f95b8f871ab5dc0666974eab3574c61b4f91e472a03f79f0a0f34

Contents?: true

Size: 386 Bytes

Versions: 16

Compression:

Stored size: 386 Bytes

Contents

win = RubyText.window(11, 65, 4, 14, fg: Blue, bg: White)

win.puts "Methods up/down/left/right can also take an integer..."

win.go 4, 29;               win.putch("+"); sleep 1
win.go 4, 29; win.up(2);    win.putch("2"); sleep 1
win.go 4, 29; win.down(3);  win.putch("3"); sleep 1
win.go 4, 29; win.left(4);  win.putch("4"); sleep 1
win.go 4, 29; win.right(5); win.putch("5"); sleep 1

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rubytext-0.0.84 examples/prog16.rb
rubytext-0.0.83 examples/prog16.rb
rubytext-0.0.82 examples/prog16.rb
rubytext-0.0.81 examples/prog16.rb
rubytext-0.0.80 examples/prog16.rb
rubytext-0.0.79 examples/prog16.rb
rubytext-0.0.78 examples/prog16.rb
rubytext-0.0.77 examples/prog16.rb
rubytext-0.0.76 examples/prog16.rb
rubytext-0.0.75 examples/prog16.rb
rubytext-0.0.74 examples/prog16.rb
rubytext-0.0.73 examples/prog16.rb
rubytext-0.0.72 examples/prog16.rb
rubytext-0.0.71 examples/prog16.rb
rubytext-0.0.70 examples/prog16.rb
rubytext-0.0.69 examples/prog16.rb