Class: Solargraph::Pin::Until

Inherits:
CompoundStatement show all
Includes:
Breakable
Defined in:
lib/solargraph/pin/until.rb

Instance Attribute Summary

Attributes included from Breakable

#location, #node

Attributes inherited from CompoundStatement

#node

Instance Method Summary collapse

Constructor Details

#initialize(node: nil, **splat) ⇒ Until

Returns a new instance of Until.

Parameters:

  • node (Parser::AST::Node, nil) (defaults to: nil)
  • splat (Hash{Symbol => Object})


10
11
12
13
# File 'lib/solargraph/pin/until.rb', line 10

def initialize node: nil, **splat
  super(**splat)
  @node = node
end