Skip to content

Instantly share code, notes, and snippets.

@volkanunsal
Created November 12, 2010 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save volkanunsal/674469 to your computer and use it in GitHub Desktop.
Save volkanunsal/674469 to your computer and use it in GitHub Desktop.
ruby-1.8.7-p302 > y=YUI::CssCompressor.new({})
=> #<YUI::CssCompressor:0x1019d8378 @options={:charset=>"utf-8", :line_break=>nil}, @command=["java", "-jar", "/Users/newuser/.rvm/gems/ruby-1.8.7-p302/gems/yui-compressor-0.9.1/lib/yui/../../vendor/yuicompressor-2.4.2.jar", "--type", "css", "--charset", "utf-8"]>
ruby-1.8.7-p302 > y.compress("a{}\n pre{}")
=> ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment