Class: IRB::StdioOutputMethod
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
OutputMethod
|
|
|
Instance Chain:
self,
OutputMethod
|
|
| Inherits: |
IRB::OutputMethod
|
| Defined in: | lib/irb/output-method.rb |
Overview
A standard output printer
Instance Method Summary
-
#print(*opts)
Prints the given
optsto standard output, seeIO#printfor more information.
OutputMethod - Inherited
| #parse_printf_format | Returns an array of the given |
| #pp | Prints the given |
| #ppx | Prints the given |
Open this method to implement your own output method, raises a |
|
| #printf | Extends |
| #printn | Prints the given |
| #puts | Calls #print on each element in the given |
Instance Method Details
#print(*opts)
Prints the given opts to standard output, see IO#print for more information.
# File 'lib/irb/output-method.rb', line 88
def print(*opts) STDOUT.print(*opts) end