Sha256: e5b1c39a4fe6a1fb3928973d7e16199538b1b9b79a4644a1225e313e0916c6dd

Contents?: true

Size: 385 Bytes

Versions: 16

Compression:

Stored size: 385 Bytes

Contents

win = RubyText.window(11, 65, 1, 6, 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.68 examples/prog16.rb
rubytext-0.0.67 examples/prog16.rb
rubytext-0.0.66 examples/prog16.rb
rubytext-0.0.65 examples/prog16.rb
rubytext-0.0.64 examples/prog16.rb
rubytext-0.0.63 examples/prog16.rb
rubytext-0.0.62 examples/prog16.rb
rubytext-0.0.61 examples/prog16.rb
rubytext-0.0.60 examples/prog16.rb
rubytext-0.0.59 examples/prog16.rb
rubytext-0.0.58 examples/prog16.rb
rubytext-0.0.57 examples/prog16.rb
rubytext-0.0.56 examples/prog16.rb
rubytext-0.0.55 examples/prog16.rb
rubytext-0.0.54 examples/prog16.rb
rubytext-0.0.53 examples/prog16.rb