Method: RSpec::Core::Example::Procsy#to_proc

Defined in:
lib/rspec/core/example.rb

#to_procvoid

Provides a wrapped proc that will update our executed? state when executed.

[View source]

358
359
360
# File 'lib/rspec/core/example.rb', line 358

def to_proc
  method(:call).to_proc
end