module Roda::RodaPlugins::PathMatchers::RequestMethods

def match_suffix(suffix)

Match when the current path segment ends with the given suffix.
def match_suffix(suffix)
  consume(self.class.cached_matcher([:suffix, suffix]){/([^\\\/]+)#{suffix}/})
end