2017-08-14 11:56:23 +00:00
|
|
|
require 'sequencer/mixin/prefixed_constantize'
|
|
|
|
|
|
|
|
class Sequencer
|
|
|
|
class Sequence
|
2018-01-17 10:26:41 +00:00
|
|
|
include ::Mixin::RequiredSubPaths
|
2017-08-14 11:56:23 +00:00
|
|
|
extend ::Sequencer::Mixin::PrefixedConstantize
|
|
|
|
|
|
|
|
PREFIX = 'Sequencer::Sequence::'.freeze
|
|
|
|
|
|
|
|
attr_reader :units, :expecting
|
|
|
|
|
|
|
|
def initialize(units:, expecting: [])
|
|
|
|
@units = units
|
|
|
|
@expecting = expecting
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|