Module: RSpecExampleLoop

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

Instance Method Summary collapse

Instance Method Details

#exception=(exception) ⇒ Object



14
15
16
# File 'lib/rspec/core/example.rb', line 14

def exception=(exception)
  @exception = exception
end

#loop_countObject



18
19
20
# File 'lib/rspec/core/example.rb', line 18

def loop_count
  [:loop] || RSpec.configuration.default_loop_count
end