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
836 def assets_matchers
837   @assets_matchers ||= [:css, :js].map do |t|
838     if regexp = assets_regexp(t)
839       [t, regexp].freeze
840     end
841   end.compact.freeze
842 end