Sha256: 9c7ac719df42bbdd3adc9624abd11531ca27809dabd3079789172c0b379c5ceb

Contents?: true

Size: 241 Bytes

Versions: 16

Compression:

Stored size: 241 Bytes

Contents

win = RubyText.window(10, 60, 3, 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.84 examples/prog06.rb
rubytext-0.0.83 examples/prog06.rb
rubytext-0.0.82 examples/prog06.rb
rubytext-0.0.81 examples/prog06.rb
rubytext-0.0.80 examples/prog06.rb
rubytext-0.0.79 examples/prog06.rb
rubytext-0.0.78 examples/prog06.rb
rubytext-0.0.77 examples/prog06.rb
rubytext-0.0.76 examples/prog06.rb
rubytext-0.0.75 examples/prog06.rb
rubytext-0.0.74 examples/prog06.rb
rubytext-0.0.73 examples/prog06.rb
rubytext-0.0.72 examples/prog06.rb
rubytext-0.0.71 examples/prog06.rb
rubytext-0.0.70 examples/prog06.rb
rubytext-0.0.69 examples/prog06.rb