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

#locationLocation? (readonly)

Returns:



12
13
14
# File 'lib/solargraph/pin/breakable.rb', line 12

def location
  @location
end

#nodeParser::AST::Node (readonly)

Returns:

  • (Parser::AST::Node)


9
10
11
# File 'lib/solargraph/pin/breakable.rb', line 9

def node
  @node
end