Sha256: f596c5c484ddbf7ab0f23d45a6730adbd5191f696e13a712cc249588caa2d1dc
Contents?: true
Size: 526 Bytes
Versions: 10
Compression:
Stored size: 526 Bytes
Contents
$:.unshift File.dirname(__FILE__) require 'yaml' require 'visage/converter' module Visage # Supported source types SOURCE_TYPES = %w[ .dvdmedia .cdr ] def self.valid_source_file?( file ) Visage::SOURCE_TYPES.each do | source_type | if( file.include?( source_type ) ) return true end end return false end def self.version yml = YAML.load(File.read(File.join(File.dirname(__FILE__), *%w[.. VERSION.yml]))) "#{yml[:major]}.#{yml[:minor]}.#{yml[:patch]}" end end
Version data entries
10 entries across 10 versions & 2 rubygems