class RSpec::Core::Example::Procsy

def to_proc

Provides a wrapped proc that will update our `executed?` state when executed.
def to_proc
  method(:call).to_proc
end