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
877 def assets_matchers
878   @assets_matchers ||= [:css, :js].map do |t|
879     if regexp = assets_regexp(t)
880       [t, regexp].freeze
881     end
882   end.compact.freeze
883 end