Sha256: e08825a1b31de9770f00315a3a96a46c82d348158b64d2cb1cdb6cce89f62522

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

module AssetsBooster
  module Package
    class Stylesheet < Base
      def self.compiler
        AssetsBooster::Configuration.compiler_for_type(:stylesheet)
      end
      
      def self.merger
        require "assets_booster/merger/css"
        AssetsBooster::Merger::CSS
      end
      
      def self.asset_path(name)
        path = AssetsBooster::Configuration.asset_path("stylesheets")
        path = File.join(path, name+".css") if name
      end
      
      def view_helper_method
        :stylesheet_link_tag
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
assets_booster-0.0.1 lib/assets_booster/package/stylesheet.rb