Module: Solargraph::Pin::Breakable

Included in:
Block, Until, While
Defined in:
lib/solargraph/pin/breakable.rb

Overview

Mix-in for pins which enclose code which the ‘break’ statement works with-in - e.g., blocks, when, until, …

Instance Attribute Summary collapse

Instance Attribute Details

#nodeParser::AST::Node (readonly)

Returns:

  • (Parser::AST::Node)


6
7
8
# File 'lib/solargraph/pin/breakable.rb', line 6

def node
  @node
end