Module: StateStep::ClassMethods

Defined in:
lib/state_step.rb

Overview

class methods

Instance Method Summary collapse

Instance Method Details

#defined_statesObject Also known as: defined_status



55
56
57
# File 'lib/state_step.rb', line 55

def defined_states
  profile.defined_states
end

#profileObject



48
49
50
51
52
53
# File 'lib/state_step.rb', line 48

def profile
  if @profile.nil?
    @profile = StateProfile.new
  end
  @profile
end

#status_init(&block) ⇒ Object Also known as: states_init



43
44
45
# File 'lib/state_step.rb', line 43

def status_init(&block)
  profile.parse_init(&block) 
end