class Rescue::NoActionError
Public Class Methods
new(type)
click to toggle source
Calls superclass method
# File lib/rescue/errors.rb, line 5 def initialize type super "Undefined `#{type}` type. Please specify :show, :edit, :new, :create, :update, or :destory on the :type argument." end