how to convert HTML and ERB files to HAML
- gem install html2haml
- bundle
- for file in app/views/**/*.erb; do html2haml -e $file ${file%erb}haml && rm $file; done
Written by andrea
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Haml
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#