Class: IRB::StdioOutputMethod
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
OutputMethod,
Exception2MessageMapper
|
|
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
opts
to standard output, seeIO#print
for 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 NotImplementedError if you don't define #print in your own class. |
|
#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