Sha256: c6135d8ad3b70a9203973ad1b81045ac378674373e7309086aeaeb6e18f664c2

Contents?: true

Size: 286 Bytes

Versions: 26

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

26 entries across 26 versions & 1 rubygems

Version Path
foobara-0.0.26 projects/state_machine/src/transition_log.rb
foobara-0.0.25 projects/state_machine/src/transition_log.rb
foobara-0.0.24 projects/state_machine/src/transition_log.rb
foobara-0.0.23 projects/state_machine/src/transition_log.rb
foobara-0.0.22 projects/state_machine/src/transition_log.rb
foobara-0.0.21 projects/state_machine/src/transition_log.rb
foobara-0.0.20 projects/state_machine/src/transition_log.rb
foobara-0.0.19 projects/state_machine/src/transition_log.rb
foobara-0.0.18 projects/state_machine/src/transition_log.rb
foobara-0.0.17 projects/state_machine/src/transition_log.rb
foobara-0.0.16 projects/state_machine/src/transition_log.rb
foobara-0.0.15 projects/state_machine/src/transition_log.rb
foobara-0.0.14 projects/state_machine/src/transition_log.rb
foobara-0.0.13 projects/state_machine/src/transition_log.rb
foobara-0.0.12 projects/state_machine/src/transition_log.rb
foobara-0.0.11 projects/state_machine/src/transition_log.rb
foobara-0.0.10 projects/state_machine/src/transition_log.rb
foobara-0.0.9 projects/state_machine/src/transition_log.rb
foobara-0.0.8 projects/state_machine/src/transition_log.rb
foobara-0.0.7 projects/state_machine/src/transition_log.rb