module Roda::RodaPlugins::Pass::RequestMethods
Public Instance Methods
Source
# File lib/roda/plugins/pass.rb, line 24 def pass throw :pass end
Skip the current match block as if it did not match.
Private Instance Methods
Source
# File lib/roda/plugins/pass.rb, line 31 def always catch(:pass){super} end
Handle passing inside the match block.
Calls superclass method
Source
# File lib/roda/plugins/pass.rb, line 36 def if_match(_) rp = @remaining_path ret = catch(:pass){super} @remaining_path = rp ret end
Handle passing inside the match block.
Calls superclass method