module Roda::RodaPlugins::NotFound::ClassMethods

Public Instance Methods

not_found(&block) click to toggle source

Install the given block as the not_found handler.

# File lib/roda/plugins/not_found.rb, line 31
def not_found(&block)
  define_method(:not_found, &block)
  private :not_found
end