paperclip
https://github.com/thoughtbot/paperclip
Ruby
Easy file attachment management for ActiveRecord
Paperclip::ImageExtractor#extract_image_from_file!
No Docs, write some!
Edit
git clone [email protected]:thoughtbot/paperclip.git
cd paperclip
open image_extractor.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Paperclip--ImageExtractor-extract_image_from_file--for-pr
# Commit to gitgit add image_extractor.rbgit commit -m "better docs for Paperclip::ImageExtractor#extract_image_from_file!"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Paperclip--ImageExtractor-extract_image_from_file--for-pr
hub pull-request
# Celebrate!