https://github.com/mikel/mail
Ruby
A Really Ruby Mail Library
String#at
Returns the character at the +position+ treating the string as an array (where 0 is the first character). Examples: "hello".at(0) # => "h" "hello".at(4) # => "o" "hello".at(10) # => ERROR if < 1.9, nil in 1.9
Edit
git clone [email protected]:mikel/mail.git
cd mail
open lib/mail/core_extensions/string/access.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-String-at-for-pr
# Commit to gitgit add lib/mail/core_extensions/string/access.rbgit commit -m "better docs for String#at"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-String-at-for-pr
hub pull-request
# Celebrate!