Discover the Magic
Magic gem uses magic library (used by file command) to determine content types and encodings of files and strings. The library does three types of tests: filesystem tests, magic number tests, and language tests.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Magic gem uses magic library (used by file command) to determine content types and encodings of files and strings. The library does three types of tests: filesystem tests, magic number tests, and language tests.
Post a comment