class HandcuffsPhaseUndeclaredError
Public Class Methods
new(found_phases, allowed_phases)
click to toggle source
Calls superclass method
# File lib/handcuffs/errors.rb, line 35 def initialize(found_phases, allowed_phases) msg = <<-MESSAGE found declarations for #{found_phases.to_sentence} but only #{allowed_phases.to_sentence} are allowed MESSAGE super msg end