Class: PryAuditlog::Output
- Inherits:
-
StringIO
- Object
- StringIO
- PryAuditlog::Output
- Defined in:
- lib/pry-auditlog/output.rb
Instance Attribute Summary collapse
-
#_original_output ⇒ Object
Returns the value of attribute _original_output.
Instance Method Summary collapse
- #print(line) ⇒ Object (also: #<<, #write)
Instance Attribute Details
#_original_output ⇒ Object
Returns the value of attribute _original_output.
3 4 5 |
# File 'lib/pry-auditlog/output.rb', line 3 def _original_output @_original_output end |
Instance Method Details
#print(line) ⇒ Object Also known as: <<, write
5 6 7 8 |
# File 'lib/pry-auditlog/output.rb', line 5 def print(line) PryAuditlog::Logger.log('O', line) @_original_output.print(line) end |