sequence.rb 377 B

1234567891011121314151617
  1. require_dependency 'sequencer/mixin/prefixed_constantize'
  2. class Sequencer
  3. class Sequence
  4. include ::Mixin::RequiredSubPaths
  5. extend ::Sequencer::Mixin::PrefixedConstantize
  6. PREFIX = 'Sequencer::Sequence::'.freeze
  7. attr_reader :units, :expecting
  8. def initialize(units:, expecting: [])
  9. @units = units
  10. @expecting = expecting
  11. end
  12. end
  13. end