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

Version Path
rubytext-0.0.68 examples/prog19.rb
rubytext-0.0.67 examples/prog19.rb
rubytext-0.0.66 examples/prog19.rb
rubytext-0.0.65 examples/prog19.rb
rubytext-0.0.64 examples/prog19.rb
rubytext-0.0.63 examples/prog19.rb
rubytext-0.0.62 examples/prog19.rb
rubytext-0.0.61 examples/prog19.rb
rubytext-0.0.60 examples/prog19.rb
rubytext-0.0.59 examples/prog19.rb
rubytext-0.0.58 examples/prog19.rb
rubytext-0.0.57 examples/prog19.rb
rubytext-0.0.56 examples/prog19.rb
rubytext-0.0.55 examples/prog19.rb
rubytext-0.0.54 examples/prog19.rb
rubytext-0.0.53 examples/prog19.rb