Module: Roda::RodaPlugins::NotFound::ClassMethods

Defined in:
lib/roda/plugins/not_found.rb

Instance Method Summary collapse

Instance Method Details

#not_found(&block) ⇒ Object

Install the given block as the not_found handler.



31
32
33
34
# File 'lib/roda/plugins/not_found.rb', line 31

def not_found(&block)
  define_method(:not_found, &block)
  private :not_found
end