Class: Fastererer::LambdaCall

Inherits:
MethodCall show all
Defined in:
lib/fastererer/method_call.rb

Overview

A ‘-> {}` lambda literal. Checks ignore it, so its call attributes are inert

Instance Attribute Summary

Attributes inherited from MethodCall

#element

Instance Method Summary collapse

Methods inherited from MethodCall

build, #hash?, #initialize, #name

Constructor Details

This class inherits a constructor from Fastererer::MethodCall

Instance Method Details

#argumentsObject



94
# File 'lib/fastererer/method_call.rb', line 94

def arguments = []

#block?Boolean

Returns:

  • (Boolean)


97
# File 'lib/fastererer/method_call.rb', line 97

def block? = true

#block_argument_namesObject



96
# File 'lib/fastererer/method_call.rb', line 96

def block_argument_names = []

#block_bodyObject



95
# File 'lib/fastererer/method_call.rb', line 95

def block_body = nil

#lambda_literal?Boolean

Returns:

  • (Boolean)


98
# File 'lib/fastererer/method_call.rb', line 98

def lambda_literal? = true

#method_nameObject



93
# File 'lib/fastererer/method_call.rb', line 93

def method_name = :lambda

#receiverObject



92
# File 'lib/fastererer/method_call.rb', line 92

def receiver = nil