Sha256: edeb56053a0500e17f7408dcd882d5ac110e3d02bc79560074788694630efc65

Contents?: true

Size: 323 Bytes

Versions: 16

Compression:

Stored size: 323 Bytes

Contents

win = RubyText.window(12, 60, 3, 10, fg: Yellow, bg: Blue)

win.puts "ABCDE    Method [] can retrieve characters "
win.puts "FGHIJ    from a window."
win.puts "KLMNO\nPQRST\nUVWZYZ"
win.puts

sleep 2
win.puts "(2,2) => '#{win[2,2]}'    (0,4)  => '#{win[0,4]}'"
win.puts "(6,7) => '#{win[6,7]}'    (0,15) => '#{win[0,15]}'"

Version data entries

16 entries across 16 versions & 1 rubygems

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