Class: MultiCss::Adapters::Yuicssmin

Inherits:
Object
  • Object
show all
Defined in:
lib/multi_css/adapters/yuicssmin.rb

Constant Summary collapse

ParseError =
::ExecJS::RuntimeError

Class Method Summary collapse

Class Method Details

.min(text, options = {}) ⇒ Object

:nodoc:



8
9
10
11
# File 'lib/multi_css/adapters/yuicssmin.rb', line 8

def self.min(text, options={}) #:nodoc:
  length = options[:length] || 5000
  ::Yuicssmin.compress(text, length)
end