RubyGems.org

Monkeypatches File and IO to include a '''magic_number_type''' method which returns a symbol, and a '''mime_type''' method which returns a string, representing the mime type guessed.

installgem install file_signature
Authors

distler, robacarp, Joel Parker Henderson @ SixArm

3,672 total downloads 1,838 for this version
Owners

B596a38f7f3747976cf70b6cdb82788d

Gemfile
gem 'file_signature', '~> 1.2.0'
Versions
  1. 1.2.0 October 2, 2012 (53 KB)
  2. 1.1.1 May 31, 2012 (19.5 KB)
  3. 1.1.0 May 31, 2012 (19 KB)