Method: RSpec::Core::Example::Procsy#call
- Defined in:
- lib/rspec/core/example.rb
#call(*args, &block) ⇒ void Also known as: run
Calls the proc and notes that the example has been executed.
350 351 352 353 |
# File 'lib/rspec/core/example.rb', line 350 def call(*args, &block) @executed = true @proc.call(*args, &block) end |