module Roda::RodaPlugins::Assets::RequestMethods

def assets

Render the matching asset if this is a GET request for a supported asset.

def assets
  if is_get?
    self.class.assets_matchers.each do |type, matcher|
      is matcher do |file|
        scope.render_asset(file, type)
      end
    end
    nil
  end
end