module Roda::RodaPlugins::NotFound::ClassMethods

  1. lib/roda/plugins/not_found.rb

Methods

Public Instance

  1. not_found

Public Instance methods

not_found(&block)

Install the given block as the not_found handler.

[show source]
   # File lib/roda/plugins/not_found.rb
47 def not_found(&block)
48   status_handler(404, &block)
49 end