Class: Serenity::LiteralLine
- Defined in:
- lib/serenity/serenity/line.rb
Instance Attribute Summary
Attributes inherited from Line
Instance Method Summary collapse
Methods inherited from CodeLine
Methods inherited from Line
code, #initialize, literal, string, text, #to_s
Constructor Details
This class inherits a constructor from Serenity::Line
Instance Method Details
#to_buf ⇒ Object
62 63 64 |
# File 'lib/serenity/serenity/line.rb', line 62 def to_buf " _buf << (" << escape_code(@text) << ").to_s;" end |