Sha256: 1101249d25a3be058bf02fa05e7f5366d15aae84a8a0bc9c48fb6665f537eb30

Contents?: true

Size: 330 Bytes

Versions: 24

Compression:

Stored size: 330 Bytes

Contents

win = RubyText.window(12, 60, 2, 5, true, 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

24 entries across 24 versions & 1 rubygems

Version Path
rubytext-0.0.51 examples/prog09.rb
rubytext-0.0.50 examples/prog09.rb
rubytext-0.0.49 examples/prog09.rb
rubytext-0.0.48 examples/prog09.rb
rubytext-0.0.47 examples/prog09.rb
rubytext-0.0.46 examples/prog09.rb
rubytext-0.0.45 examples/prog09.rb
rubytext-0.0.44 examples/prog09.rb
rubytext-0.0.43 examples/prog09.rb
rubytext-0.0.42 examples/prog09.rb
rubytext-0.0.41 examples/prog09.rb
rubytext-0.0.40 examples/prog09.rb
rubytext-0.0.39 examples/prog09.rb
rubytext-0.0.38 examples/prog09.rb
rubytext-0.0.37 examples/prog09.rb
rubytext-0.0.36 examples/prog09.rb
rubytext-0.0.35 examples/prog09.rb
rubytext-0.0.34 examples/prog09.rb
rubytext-0.0.33 examples/prog09.rb
rubytext-0.0.32 examples/prog09.rb