Class: Method

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_proc_with_lambda_tracking

39
40
41
42
43
# File 'lib/rspec/mocks/extensions/proc.rb', line 39
def to_proc_with_lambda_tracking
  proc = to_proc_without_lambda_tracking
  proc.send :__is_lambda__=, true
  proc
end