Method: RSpec::Core::Example::Procsy#initialize
- Defined in:
- lib/rspec/core/example.rb
permalink #initialize(example, &block) ⇒ Procsy
Returns a new instance of Procsy.
362 363 364 365 366 |
# File 'lib/rspec/core/example.rb', line 362 def initialize(example, &block) @example = example @proc = block @executed = false end |