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

Version Path
asproject-0.1.118 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.42 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.43 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.44 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.41 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.38 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.40 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.60 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.68 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.71 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.75 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.69 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.74 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.80 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.92 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.89 lib/tasks/swfmill_input_resolver.rb
asproject-0.1.84 lib/tasks/swfmill_input_resolver.rb