Sha256: f0248f081a3f2646a87a441a29ec48b670e747ddea1a48ada6719879b67fec3d

Contents?: true

Size: 322 Bytes

Versions: 16

Compression:

Stored size: 322 Bytes

Contents

win = RubyText.window(12, 60, 2, 5, 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.68 examples/prog09.rb
rubytext-0.0.67 examples/prog09.rb
rubytext-0.0.66 examples/prog09.rb
rubytext-0.0.65 examples/prog09.rb
rubytext-0.0.64 examples/prog09.rb
rubytext-0.0.63 examples/prog09.rb
rubytext-0.0.62 examples/prog09.rb
rubytext-0.0.61 examples/prog09.rb
rubytext-0.0.60 examples/prog09.rb
rubytext-0.0.59 examples/prog09.rb
rubytext-0.0.58 examples/prog09.rb
rubytext-0.0.57 examples/prog09.rb
rubytext-0.0.56 examples/prog09.rb
rubytext-0.0.55 examples/prog09.rb
rubytext-0.0.54 examples/prog09.rb
rubytext-0.0.53 examples/prog09.rb