class HandcuffsUnknownPhaseError

Public Class Methods

new(phase, phases) click to toggle source
Calls superclass method
# File lib/handcuffs/errors.rb, line 25
    def initialize(phase, phases)
      msg = <<-MESSAGE
        Unknown phase #{phase.to_s}
        Handcuffs is configured to allow #{phases.to_sentence}
      MESSAGE
      super msg
    end