Sha256: 0706e73da176885173da254e430370fd08af18f284608cc4dbc1fe3cd8181757

Contents?: true

Size: 577 Bytes

Versions: 26

Compression:

Stored size: 577 Bytes

Contents

require 'hanami/assets/compressors/stylesheet'
require 'yui/compressor'

module Hanami
  module Assets
    module Compressors
      # YUI Compressor for stylesheet
      #
      # It depends on <tt>yui-compressor</tt> gem
      #
      # @since 0.1.0
      # @api private
      #
      # @see http://yui.github.io/yuicompressor
      # @see https://rubygems.org/gems/yui-compressor
      class YuiStylesheet < Stylesheet
        # @since 0.1.0
        # @api private
        def initialize
          @compressor = YUI::CssCompressor.new
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
hanami-assets-1.0.0.beta2 lib/hanami/assets/compressors/yui_stylesheet.rb
hanami-assets-1.0.0.beta1 lib/hanami/assets/compressors/yui_stylesheet.rb
hanami-assets-0.4.0 lib/hanami/assets/compressors/yui_stylesheet.rb
hanami-assets-0.3.0 lib/hanami/assets/compressors/yui_stylesheet.rb
hanami-assets-0.2.1 lib/hanami/assets/compressors/yui_stylesheet.rb
hanami-assets-0.2.0 lib/hanami/assets/compressors/yui_stylesheet.rb