Sha256: f0bf7cb92bc0c53a7a1df4a6ec11d713dea6e6206f43cd48444c51b57cbedf8c
Contents?: true
Size: 542 Bytes
Versions: 17
Compression:
Stored size: 542 Bytes
Contents
class SWFMillInputResolver < SimpleResolver def ignore_file?(file) base = File.basename(file) if(base == '.DS_Store' || base == 'Thumbs.db' || base.match(/^\d/)) @ignored_files << file return true end return false end def get_symbol_id(file) trimmed = file.gsub(@base_dir, '') parts = trimmed.split('.') parts.pop trimmed = parts.join('.') result = trimmed.split(File::SEPARATOR).join('.') result = result.gsub(/^./, '') return result end end
Version data entries
17 entries across 17 versions & 1 rubygems