trabajo-afectivo/lib/sequencer/sequence.rb

18 lines
366 B
Ruby
Raw Normal View History

require 'sequencer/mixin/prefixed_constantize'
class Sequencer
class Sequence
include ::Mixin::RequiredSubPaths
extend ::Sequencer::Mixin::PrefixedConstantize
PREFIX = 'Sequencer::Sequence::'.freeze
attr_reader :units, :expecting
def initialize(units:, expecting: [])
@units = units
@expecting = expecting
end
end
end