What is send?
It’s a tiny wee ruby gem that is a fork of Object#try and Object#try from Rails. It will never throw a NoMethodError (no matter the receiver), and returns nil if called on a nil-class or if the method in the receiver does not exist.
Note on Patches/Pull Requests
- Fork me!
- Write tests for your new feature or bug fix (important, I don’t want to break your stuff in a future update by accident!)
- Hack away on the code; make your tests pass.
- Commit! Don’t touch Rakefile, version or git history in any of the commits you want me to pick.
- ???
- Send me a pull request!