Sha256: e0ddc6bd3a691f00eecb0aeafe00db0e017b9c88d9a905a584c9ac756cd198ce
Contents?: true
Size: 754 Bytes
Versions: 1
Compression:
Stored size: 754 Bytes
Contents
h1. hamlize_views This ruby gem uses the html2haml command line utility to convert rails' ERB view files to HAML. h2. Installation <pre><code> gem sources -a http://gems.github.com sudo gem install haml sudo gem install zeke-hamlize_views </code> </pre> h2. Usage <pre><code> $ cd /path/to/rails_app/ $ hamlize_views # Displays usage $ hamlize_views app/views/my_model # Creates HAMLized versions of all app/views/my_model/*.html.erb files </code> </pre> h2. Todo * Account for non-HTML Rails scaffold view stuff like > and " * Provide a flag for deletion of the original .erb files * Add an option to update references to converted files in rspec view tests h2. Copyright Copyright (c) 2009 Zeke Sikelianos. See LICENSE for details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zeke-hamlize_views-0.0.3 | README.textile |