HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/roadie-4.0.0/lib/roadie/asset_provider.rb
# frozen_string_literal: true

module Roadie
  # This module can be included in your own code to help you implement the
  # standard behavior for asset providers.
  #
  # It helps you by declaring {#find_stylesheet!} in the terms of #find_stylesheet in your own class.
  module AssetProvider
    def find_stylesheet!(name)
      find_stylesheet(name) or raise CssNotFound.new(name, nil, self)
    end
  end
end