Sha256: b55ff24275b2bfa490cd80e1699206a91992f80e58d9989968bb2515c7645664

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 Bytes

Contents

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, name
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
roadie-3.0.0 lib/roadie/asset_provider.rb
roadie-3.0.0.pre1 lib/roadie/asset_provider.rb