Module: Roadie::AssetProvider

Included in:
FilesystemProvider, ProviderList
Defined in:
lib/roadie/asset_provider.rb

Overview

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.

Instance Method Summary collapse

Instance Method Details

#find_stylesheet!(name) ⇒ Object



7
8
9
# File 'lib/roadie/asset_provider.rb', line 7

def find_stylesheet!(name)
  find_stylesheet(name) or raise CssNotFound, name
end