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
823 def assets_matchers
824   @assets_matchers ||= [:css, :js].map do |t|
825     if regexp = assets_regexp(t)
826       [t, regexp].freeze
827     end
828   end.compact.freeze
829 end