Module: WindowIO
- Defined in:
- lib/output.rb
Overview
into 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
155 156 157 |
# File 'lib/output.rb', line 155 def getch X.getch end |
#p(*args) ⇒ Object
147 148 149 |
# File 'lib/output.rb', line 147 def p(*args) $stdscr.p(*args) end |
#print(*args) ⇒ Object
143 144 145 |
# File 'lib/output.rb', line 143 def print(*args) $stdscr.print(*args) end |
#puts(*args) ⇒ Object
Doesn’t affect STDOUT.puts, etc.
139 140 141 |
# File 'lib/output.rb', line 139 def puts(*args) # Doesn't affect STDOUT.puts, etc. $stdscr.puts(*args) end |
#rcprint(r, c, *args) ⇒ Object
151 152 153 |
# File 'lib/output.rb', line 151 def rcprint(r, c, *args) $stdscr.rcprint r, c, *args end |