Sha256: 21b153183b16f98ef17beb3dee453c06b22a9219979a590df144d275fd8e5fde
Contents?: true
Size: 411 Bytes
Versions: 1
Compression:
Stored size: 411 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(name, nil, self) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roadie-4.0.0 | lib/roadie/asset_provider.rb |