Sha256: 5865ae9e40d0df2896ac4ae9d1d7cba5baf8bcc4604d32ac326ecbb5f153de7f

Contents?: true

Size: 241 Bytes

Versions: 16

Compression:

Stored size: 241 Bytes

Contents

win = RubyText.window(10, 60, 2, 14, fg: Blue, bg: Black)

win.output do
  puts "The #print and #p methods also act as you expect."

  print "This will all "
  print "go on a single "
  puts "line."

  puts
  array = [1, 2, 3]
  p array
end

Version data entries

16 entries across 16 versions & 1 rubygems

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