psyho / bogus

Fake library for Ruby
Other
359 stars 14 forks source link

Warnings-clean #22

Closed chastell closed 11 years ago

chastell commented 11 years ago

This is ugly, but makes Bogus ruby -w clean again (instance_methods is defined by Dependor; maybe there’s a way to make it not define the getter in this case?).

wrozka commented 11 years ago

Thanks for pointing that out, actually only regular method definition yields that warning. It ignores dynamic methods defined with takes. I suppressed the warning with a rename and added a spac, so such PRs won't be needed in future. ;)

chastell commented 11 years ago

Awesome, thanks! :)