Sha256: 3b6b9bd181b005917c700043062c95d8c78eb6a5ce5c4d37fd733ffc81b1fe9a
Contents?: true
Size: 339 Bytes
Versions: 16
Compression:
Stored size: 339 Bytes
Contents
win = RubyText.window(15, 65, 1, 6, fg: Green, bg: Blue) win.puts "#center will print text centered on the current row" win.puts "and do an implicit CRLF at the end.\n " stuff = ["I","can","never","imagine","good sets","of real words", "which can somehow", "produce tree shapes", "|", "|"] stuff.each {|str| win.center(str) }
Version data entries
16 entries across 16 versions & 1 rubygems