method
new

new(*allowed_methods)
public
Hide source
# File actionpack/lib/action_controller/metal/exceptions.rb, line 62 def initialize(*allowed_methods) super("Only #{allowed_methods.to_sentence} requests are allowed.") end