Module: Ruvi::NewLineAttributes
- Included in:
- BufferLine, LineSlice
- Defined in:
- lib/misc.rb
Instance Attribute Summary collapse
-
#newline_at_end ⇒ Object
Returns the value of attribute newline_at_end.
-
#newline_at_start ⇒ Object
Returns the value of attribute newline_at_start.
Instance Method Summary collapse
Instance Attribute Details
#newline_at_end ⇒ Object
Returns the value of attribute newline_at_end.
21 22 23 |
# File 'lib/misc.rb', line 21 def newline_at_end @newline_at_end end |
#newline_at_start ⇒ Object
Returns the value of attribute newline_at_start.
21 22 23 |
# File 'lib/misc.rb', line 21 def newline_at_start @newline_at_start end |
Instance Method Details
#inspect ⇒ Object
22 23 24 |
# File 'lib/misc.rb', line 22 def inspect super + " (#{newline_at_start}-S:#{newline_at_end}-E)" end |