jferris / effigy

Ruby views without a templating language
http://rdoc.info/projects/jferris/effigy
MIT License
206 stars 6 forks source link

rails integration #1

Closed TomK32 closed 14 years ago

TomK32 commented 14 years ago

Wouldn't it make sense to assume that everything that is in your index.html.effigy is evaluated in the transform method anyways and drop a few lines of code?

jferris commented 14 years ago

That would prevent people from breaking out their views into other methods, which is one of the things I like about Effigy views being actual Ruby classes. Honestly, I haven't gotten to use Effigy enough to tell whether or not that's something I actually want to do, but for now I'd like to keep them as visible classes.