Sha256: c6135d8ad3b70a9203973ad1b81045ac378674373e7309086aeaeb6e18f664c2

Contents?: true

Size: 286 Bytes

Versions: 27

Compression:

Stored size: 286 Bytes

Contents

module Foobara
  class StateMachine
    module TransitionLog
      include Concern

      attr_accessor :log

      def initialize(*args, **options)
        super

        self.log = []
      end

      def log_transition(**)
        log << LogEntry.new(**)
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
foobara-0.0.7 projects/state_machine/src/transition_log.rb
foobara-0.0.6 projects/state_machine/src/transition_log.rb
foobara-0.0.5 projects/state_machine/src/transition_log.rb
foobara-0.0.4 projects/state_machine/src/transition_log.rb
foobara-0.0.3 projects/state_machine/src/transition_log.rb
foobara-0.0.2 projects/state_machine/src/transition_log.rb
foobara-0.0.1 projects/state_machine/src/transition_log.rb