Class: ProconBypassMan::Procon::Macro::OnetimeNestedStep

Inherits:
BaseNestedStep
  • Object
show all
Defined in:
lib/procon_bypass_man/procon/macro.rb

Instance Method Summary collapse

Methods inherited from BaseNestedStep

#initialize

Constructor Details

This class inherits a constructor from ProconBypassMan::Procon::Macro::BaseNestedStep

Instance Method Details

#next_stepObject



29
30
31
32
33
# File 'lib/procon_bypass_man/procon/macro.rb', line 29

def next_step
  step = current_step
  incr_step_index!
  step
end

#over?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/procon_bypass_man/procon/macro.rb', line 25

def over?
  current_step.nil?
end