Module: StateStep::ClassMethods
- Defined in:
- lib/state_step.rb
Overview
class methods
Instance Method Summary collapse
- #defined_states ⇒ Object (also: #defined_status)
- #profile ⇒ Object
- #status_init(&block) ⇒ Object (also: #states_init)
Instance Method Details
#defined_states ⇒ Object Also known as: defined_status
55 56 57 |
# File 'lib/state_step.rb', line 55 def defined_states profile.defined_states end |
#profile ⇒ Object
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 |