2018-04-26 08:55:53 +00:00
|
|
|
require_dependency 'sequencer/mixin/prefixed_constantize'
|
2017-08-14 11:56:23 +00:00
|
|
|
|
|
|
|
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
|