turboladen / tailor

A RubyGem that allows for checking standard styling of Ruby files.
146 stars 18 forks source link

Add pre-check to see if file is valid Ruby #99

Closed turboladen closed 12 years ago

turboladen commented 12 years ago

You'll get some bizarro results from tailor if you parse non-Ruby files. It'll parse it, but the results probably won't make much sense. Try to sexp parse--if it fails, give an error (don't bomb out) like the rest.