@private Stores the different ordering strategies.
# File lib/rspec/core/ordering.rb, line 73 def initialize(configuration) @configuration = configuration @strategies = {} register(:random, Random.new(configuration)) identity = Identity.new register(:defined, identity) # The default global ordering is --defined. register(:global, identity) end
# File lib/rspec/core/ordering.rb, line 86 def fetch(name, &fallback) @strategies.fetch(name, &fallback) end
Generated with the Darkfish Rdoc Generator 2.