https://github.com/mikel/mail
Ruby
A Really Ruby Mail Library
String#from
Returns the remaining of the string from the +position+ treating the string as an array (where 0 is the first character). Examples: "hello".from(0) # => "hello" "hello".from(2) # => "llo" "hello".from(10) # => "" 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-from-for-pr
# Commit to gitgit add lib/mail/core_extensions/string/access.rbgit commit -m "better docs for String#from"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-String-from-for-pr
hub pull-request
# Celebrate!