Class: LibRubyParser::Nodes::Lambda

Inherits:
LibRubyParser::Node show all
Defined in:
lib/lib-ruby-parser/nodes.rb

Overview

Represents a lambda call using -> (i.e. -> {})

Note that Lambda is a part of the Block, not other way around.

Instance Attribute Summary collapse

Instance Attribute Details

#expression_lLoc (readonly)

Location of the ->

-> {}
~~

Returns:



2465
2466
2467
# File 'lib/lib-ruby-parser/nodes.rb', line 2465

def expression_l
  @expression_l
end