Sha256: ed7581c81a1c94fa17b4384de43013eb19e20ca5eb6c9761f10a48ff1c8ebcfd
Contents?: true
Size: 443 Bytes
Versions: 5
Compression:
Stored size: 443 Bytes
Contents
# 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(css_name: name, provider: self) ) end end end
Version data entries
5 entries across 5 versions & 1 rubygems