Class: RSpec::Core::Notifications::SeedNotification

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec/core/notifications.rb

Overview

The SeedNotification holds the seed used to randomize examples and wether that seed has been used or not.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Fixnum) seed

the seed used to randomize ordering



340
341
342
# File 'lib/rspec/core/notifications.rb', line 340

def seed
  @seed
end

- (Boolean) used

wether the seed has been used or not



340
341
342
# File 'lib/rspec/core/notifications.rb', line 340

def used
  @used
end