Sha256: 60518f5f7425d75343d212c2169e117ebd78668fc5a31f40706f1a195f2facf3

Contents?: true

Size: 375 Bytes

Versions: 12

Compression:

Stored size: 375 Bytes

Contents

module ViewAssets
  # TODO add rspec examples
  class StyleSheetAssets < AssetsFinder
    def assets_path
      # 'assets/javascripts'
      'stylesheets'
    end
    
    def asset_extension
      'css'
    end
    
    def asset_type
      'stylesheet'
    end
    
    def tag(css_href)
      "<link href='#{css_href}' media='screen' rel='stylesheet' />"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
view_assets-0.0.12 lib/view_assets/css_assets.rb
view_assets-0.0.11 lib/view_assets/css_assets.rb
view_assets-0.0.10 lib/view_assets/css_assets.rb
view_assets-0.0.9 lib/view_assets/css_assets.rb
view_assets-0.0.8 lib/view_assets/css_assets.rb
view_assets-0.0.7 lib/view_assets/css_assets.rb
view_assets-0.0.6 lib/view_assets/css_assets.rb
view_assets-0.0.5 lib/view_assets/css_assets.rb
view_assets-0.0.4 lib/view_assets/css_assets.rb
view_assets-0.0.3 lib/view_assets/css_assets.rb
view_assets-0.0.2 lib/view_assets/css_assets.rb
view_assets-0.0.1 lib/view_assets/css_assets.rb