seattlerb / debride

Analyze code for potentially uncalled / dead methods, now with auto-removal.
https://www.zenspider.com/projects/debride.html
720 stars 19 forks source link

Handling of attr_* methods #18

Closed jeremyf closed 9 years ago

jeremyf commented 9 years ago

Treat calls to attr_* methods as method definitions. Also treat attribute assignment as a method call.

jeremyf commented 9 years ago

@zenspider - Updated. I was not running tests via rake. It required having hoe installed as a test dependency.

As a matter of curiosity, your gems are of a shape different from others. They don't have a gemspec. If you have a post related to the reasons, I'd love to understand. From the outside looking in, you like to have the most bare bones of gems and their associated files as possible.

jeremyf commented 9 years ago

Let me know if I should squash this into a single commit.

zenspider commented 9 years ago

Done! Thanks!