Sha256: 6cee2048cfd26ba6e2d551d04847f8814c0693dad1467f8d9d8a124c6381654b
Contents?: true
Size: 354 Bytes
Versions: 4
Compression:
Stored size: 354 Bytes
Contents
=begin * **gem**: ruby-audioinfo =end class AudioInfo class << self # check if it is a audio file? # # @param [String] path # @return [Boolean] def file? path SUPPORTED_EXTENSIONS.include? File.extname(path) end # get a file's type # # @param [String] path # @return [String] def type path; File.extname(path) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tagen-0.2.1 | lib/tagen/audioinfo.rb |
tagen-0.2.0 | lib/tagen/audioinfo.rb |
tagen-0.1.1 | lib/tagen/audioinfo.rb |
tagen-0.1.0 | lib/tagen/audioinfo.rb |