Module: Kernel
- Defined in:
- lib/rubytext.rb
Overview
Stick stuff into Kernel for top level
Instance Method Summary collapse
- #getch ⇒ Object
- #p(*args) ⇒ Object
- #print(*args) ⇒ Object
-
#puts(*args) ⇒ Object
Doesn't affect STDOUT.puts, etc.
- #rcprint(r, c, *args) ⇒ Object
Instance Method Details
#getch ⇒ Object
485 486 487 |
# File 'lib/rubytext.rb', line 485 def getch X.getch end |
#p(*args) ⇒ Object
477 478 479 |
# File 'lib/rubytext.rb', line 477 def p(*args) $stdscr.p(*args) end |
#print(*args) ⇒ Object
473 474 475 |
# File 'lib/rubytext.rb', line 473 def print(*args) $stdscr.print(*args) end |
#puts(*args) ⇒ Object
Doesn't affect STDOUT.puts, etc.
469 470 471 |
# File 'lib/rubytext.rb', line 469 def puts(*args) # Doesn't affect STDOUT.puts, etc. $stdscr.puts(*args) end |
#rcprint(r, c, *args) ⇒ Object
481 482 483 |
# File 'lib/rubytext.rb', line 481 def rcprint(r, c, *args) $stdscr.rcprint r, c, *args end |