Class: OggEncode::Flac

Inherits:
File
  • Object
show all
Defined in:
lib/autogg/utils.rb

Class Method Summary collapse

Class Method Details

.exists?(path) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/autogg/utils.rb', line 3

def self.exists?( path )
  file?( path ) and basename( path ) =~ /\.flac$/
end