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