17 lines
328 B
Ruby
17 lines
328 B
Ruby
|
require 'sequencer/mixin/prefixed_constantize'
|
||
|
|
||
|
class Sequencer
|
||
|
class Sequence
|
||
|
extend ::Sequencer::Mixin::PrefixedConstantize
|
||
|
|
||
|
PREFIX = 'Sequencer::Sequence::'.freeze
|
||
|
|
||
|
attr_reader :units, :expecting
|
||
|
|
||
|
def initialize(units:, expecting: [])
|
||
|
@units = units
|
||
|
@expecting = expecting
|
||
|
end
|
||
|
end
|
||
|
end
|