Method: RSpec::Core::Example::Procsy#initialize

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

#initialize(example, &block) ⇒ Procsy

Returns a new instance of Procsy.

[View source]

362
363
364
365
366
# File 'lib/rspec/core/example.rb', line 362

def initialize(example, &block)
  @example  = example
  @proc     = block
  @executed = false
end