class HandcuffsPhaseOutOfOrderError

Public Class Methods

new(not_run_phase, attempted_phase) click to toggle source
Calls superclass method
# File lib/handcuffs/errors.rb, line 45
    def initialize(not_run_phase, attempted_phase)
      msg = <<-MESSAGE
        Your tried to run #{attempted_phase.to_s}, but #{not_run_phase.to_s} has not been run
      MESSAGE
      super msg
    end