Class: Byebug::Processor
- Inherits:
-
Object
- Object
- Byebug::Processor
- Extended by:
- Forwardable
- Defined in:
- lib/byebug/processor.rb
Overview
Should this be a mixin?
Direct Known Subclasses
Instance Attribute Summary collapse
-
#interface ⇒ Object
Returns the value of attribute interface.
Instance Method Summary collapse
-
#afmt(msg, newline = "\n") ⇒ Object
Format msg with gdb-style annotation header.
- #aprint(msg) ⇒ Object
Instance Attribute Details
#interface ⇒ Object
Returns the value of attribute interface.
9 10 11 |
# File 'lib/byebug/processor.rb', line 9 def interface @interface end |
Instance Method Details
#afmt(msg, newline = "\n") ⇒ Object
Format msg with gdb-style annotation header
15 16 17 |
# File 'lib/byebug/processor.rb', line 15 def afmt(msg, newline="\n") "\032\032#{msg}#{newline}" end |