gem.sh
gem.sh
Home
Gems
Types
Docs
Community
Quick search...
Classes
class MimeMagic
Overview
H
Home
R
Reference
T
Types
C
Changelogs
Documentation
README
More
Versions
Source
Playground
Stats
Metadata
Wiki
Announcements
Community
Articles
Tutorials
Videos
Community
Gems
mimemagic
0.4.1
class MimeMagic
# audio?
Select a tab
README
Metadata
Source
Versions
Changelogs
Guides
Articles
Reference
Playground
Videos
Types
Community
Stats
Announcements
class MimeMagic
def audio?; mediatype == 'audio'; end
def
audio?
;
mediatype
==
'audio'
;
end
Class Methods
:: add
:: all_by_magic
:: by_extension
:: by_magic
:: by_path
:: child?
:: get_matches
:: magic_match
:: magic_match_io
:: open_mime_database
:: parse_database
:: remove
:: str2int
Instance Methods
# audio?
# child_of?
# comment
# eql?
# extensions
# hash
# image?
# initialize
# text?
# to_s
# video?