Class: Proc

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/mocks/extensions/proc.rb

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) lambda?

Returns:

  • (Boolean)
29
30
31
# File 'lib/rspec/mocks/extensions/proc.rb', line 29
def lambda?
  !!__is_lambda__
end