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
private.
- #rcprint(r, c, *args) ⇒ Object
Instance Method Details
#getch ⇒ Object
335 336 337 |
# File 'lib/rubytext.rb', line 335 def getch X.getch end |
#p(*args) ⇒ Object
327 328 329 |
# File 'lib/rubytext.rb', line 327 def p(*args) $stdscr.p(*args) end |
#print(*args) ⇒ Object
323 324 325 |
# File 'lib/rubytext.rb', line 323 def print(*args) $stdscr.print(*args) end |
#puts(*args) ⇒ Object
private
319 320 321 |
# File 'lib/rubytext.rb', line 319 def puts(*args) # Doesn't affect STDOUT.puts, etc. $stdscr.puts(*args) end |
#rcprint(r, c, *args) ⇒ Object
331 332 333 |
# File 'lib/rubytext.rb', line 331 def rcprint(r, c, *args) $stdscr.rcprint r, c, *args end |