Sha256: dacb73d9fd22d14209eec96c111ec8113d87ace2aafc14dfee2a04db5627d25d
Contents?: true
Size: 599 Bytes
Versions: 20
Compression:
Stored size: 599 Bytes
Contents
class TestTrack::FakeServer class << self def split_details(name) TestTrack::Fake::SplitDetail.new(name).details end def visitor TestTrack::Fake::Visitor.instance end def visitor_details TestTrack::Fake::VisitorDetail.instance end def assignments TestTrack::Fake::Visitor.instance.assignments end def reset!(seed) TestTrack::Fake::Visitor.reset! @seed = Integer(seed) end def seed @seed || raise('TestTrack::FakeServer seed not set. Call TestTrack::FakeServer.reset!(seed) to set seed.') end end end
Version data entries
20 entries across 20 versions & 1 rubygems