February 05, 2010
Posted by Peter David Hamilton | 0 comment(s)
January 03, 2010
Posted by Peter David Hamilton | 0 comment(s)
January 02, 2010
http://snippets.dzone.com/posts/show/6838
class ToHamldef initialize(path)
@path = path
end
def convert!
Dir["#{@path}/**/*.erb"].each do |file|
`html2haml -rx #{file} #{file.gsub(/.erb$/, '.haml')}`
end
end
end
path = File.join(File.dirname(__FILE__), 'app', 'views')
ToHaml.new(path).convert!
Posted by Peter David Hamilton | 0 comment(s)
Posted by Peter David Hamilton | 0 comment(s)
Posted by Peter David Hamilton | 0 comment(s)
December 30, 2009
Posted by Peter David Hamilton | 0 comment(s)
December 01, 2009
Posted by Peter David Hamilton | 0 comment(s)
November 29, 2009
Posted by Peter David Hamilton | 0 comment(s)
November 26, 2009
Posted by Peter David Hamilton | 0 comment(s)
