module Roda::RodaPlugins::Pass::RequestMethods

Public Instance Methods

pass() click to toggle source

Skip the current match block as if it did not match.

# File lib/roda/plugins/pass.rb, line 21
def pass
  throw :pass
end

Private Instance Methods

always() click to toggle source

Handle passing inside the match block.

Calls superclass method
# File lib/roda/plugins/pass.rb, line 28
def always
  catch(:pass){super}
end
if_match(_) click to toggle source

Handle passing inside the match block.

Calls superclass method
# File lib/roda/plugins/pass.rb, line 33
def if_match(_)
  catch(:pass){super}
end