class Workflow::State

Attributes

events[RW]
meta[RW]
name[RW]
on_entry[RW]
on_exit[RW]

Public Class Methods

new(name, meta = {}) click to toggle source
# File lib/workflow.rb, line 93
def initialize(name, meta = {})
  @name, @events, @meta = name, Hash.new, meta
end

Public Instance Methods

to_s() click to toggle source
# File lib/workflow.rb, line 97
def to_s
  "#{name}"
end
to_sym() click to toggle source
# File lib/workflow.rb, line 101
def to_sym
  name.to_sym
end