class RequiresPhaseArgumentError

Public Class Methods

new(task) click to toggle source
Calls superclass method
# File lib/handcuffs/errors.rb, line 5
    def initialize(task)
      msg = <<-MESSAGE
        rake #{task} requires a phase argument.
        For example: #{task}[pre_restart]
      MESSAGE
      super(msg)
    end