GuessMethod 0.2.0!
I was talking yesterday to Corey (of mini-magick fame) and he suggested something for GuessMethod. I implemented it and sent him an instant message demonstrating such. He said, “Oh yeah! I totally want this. This will enrage so many people! I love it.”
What is it? GuessMethod for Rake.
mvb:~/hot-rails-app cms$ grake db:migrat (in /Users/cms/hot-rails-app) attention: invoking task db:migrate instead of db:migrat ...
You can use your new grake command, or add require 'guessmethod/rake' to your rakefiles for this functionality. This is probably ten times more dangerous than plain old GuessMethod. Please, oh please, don’t use this in production.
Otherwise, things are pretty much the same:
001:0> Strin.tos attention: replacing non-existant constant Strin with String for Object attention: sending to_s instead of tos to String:Class “String”
Get it:
sudo gem install guessmethod