Sha256: f2691746da05cfa3037f97aa3b7b982b9d048ade6fb267c6fbc9653413472aac
Contents?: true
Size: 376 Bytes
Versions: 8
Compression:
Stored size: 376 Bytes
Contents
module Spec module Api class OrderGroup def initialize @ordering = Array.new end def register(expectation) @ordering << expectation end def ready_for?(expectation) return @ordering.first == expectation end def consume(expectation) @ordering.shift end end end end
Version data entries
8 entries across 8 versions & 1 rubygems