Class: Solargraph::Pin::While
- Inherits:
-
CompoundStatement
- Object
- Pin::Base
- CompoundStatement
- Solargraph::Pin::While
- Includes:
- Breakable
- Defined in:
- lib/solargraph/pin/while.rb
Instance Attribute Summary
Attributes included from Breakable
Attributes inherited from CompoundStatement
Instance Method Summary collapse
-
#initialize(node: nil, **splat) ⇒ While
constructor
A new instance of While.
Constructor Details
#initialize(node: nil, **splat) ⇒ While
Returns a new instance of While.
10 11 12 13 |
# File 'lib/solargraph/pin/while.rb', line 10 def initialize node: nil, **splat super(**splat) @node = node end |