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