1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/bin/html2haml
nex3 2a5337bff0 Make html2haml usable from withing Ruby, using the Haml::HTML class and/or the Hpricot to_haml extension.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@475 7063305b-7217-0410-af8c-cdc13e5119b9
2007-04-01 08:45:39 +00:00

7 lines
141 B
Ruby
Executable file

#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../lib/haml'
require 'haml/exec'
opts = Haml::Exec::HTML2Haml.new(ARGV)
opts.parse!