Sha256: 3a016fb20e7ab7161f8925b4f8714bd0734e108d05e527a76b788c4dc5c81c1a

Contents?: true

Size: 224 Bytes

Versions: 5

Compression:

Stored size: 224 Bytes

Contents

require "stateful/listeners"

module Stateful
  class Event
    include Stateful::Listeners
    
    attr_reader :name, :transitions
    
    def initialize(name)
      @name = name
      @transitions = {}
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jbarnette-stateful-1.0.0.200807042242 lib/stateful/event.rb
jbarnette-stateful-1.0.0.200807052303 lib/stateful/event.rb
jbarnette-stateful-1.0.0.200807060249 lib/stateful/event.rb
jbarnette-stateful-1.0.0.200807092012 lib/stateful/event.rb
jbarnette-stateful-1.0.0.200812261315 lib/stateful/event.rb