module Roda::RodaPlugins::Assets::RequestClassMethods

  1. lib/roda/plugins/assets.rb

Methods

Public Instance

  1. assets_matchers

Public Instance methods

assets_matchers()

An array of asset type strings and regexps for that type, for all asset types handled.

[show source]
    # File lib/roda/plugins/assets.rb
834 def assets_matchers
835   @assets_matchers ||= [:css, :js].map do |t|
836     if regexp = assets_regexp(t)
837       [t, regexp].freeze
838     end
839   end.compact.freeze
840 end