Class: Oppen::Token::LineBreak
- Inherits:
-
Break
- Object
- Oppen::Token
- Break
- Oppen::Token::LineBreak
- Defined in:
- lib/oppen/token.rb
Overview
Distinguished instance of Break which forces a line break.
Defined Under Namespace
Classes: LineBreakString
Instance Attribute Summary
Attributes inherited from Break
Instance Method Summary collapse
-
#initialize(offset: 0) ⇒ LineBreak
constructor
A new instance of LineBreak.
Methods inherited from Break
Methods inherited from Oppen::Token
Constructor Details
#initialize(offset: 0) ⇒ LineBreak
Returns a new instance of LineBreak.
82 83 84 |
# File 'lib/oppen/token.rb', line 82 def initialize(offset: 0) super(LineBreakString.new, offset:) end |