Permalink
Browse files

adaptation of the script with the new interface

  • Loading branch information...
1 parent 761e52e commit 23b2281242d4ba09e2ab049bd029db8ead5c2a33 @thomaspierson committed Jan 18, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 script-example.rb
View
@@ -5,5 +5,6 @@
css = File.read(ARGV[0])
converter = Css2Less::Converter.new(css)
-converter.generate
-converter.print
+converter.generate_tree
+converter.render_less
+puts converter.get_less

0 comments on commit 23b2281

Please sign in to comment.