Sha256: bb7121ec22f6518c23ad2eaf213d77d335ccb4aaeb00441ea4da42d81ef032e0

Contents?: true

Size: 220 Bytes

Versions: 22

Compression:

Stored size: 220 Bytes

Contents

class Ld::Files < Array

  attr_accessor :results

  def initialize files
    @results = files
  end

  def find name
    @results.each do |f|
      if f.name == name
        return f
      end
    end
    nil
  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
ld-0.4.5 lib/ld/file/files.rb
ld-0.4.4 lib/ld/file/files.rb
ld-0.4.3 lib/ld/file/files.rb
ld-0.4.2 lib/ld/file/files.rb
ld-0.4.1 lib/ld/file/files.rb
ld-0.3.6 lib/ld/file/files.rb
ld-0.3.5 lib/ld/file/files.rb
ld-0.3.3 lib/ld/file/files.rb
ld-0.3.2 lib/ld/file/files.rb
ld-0.3.1 lib/ld/file/files.rb
ld-0.2.14 lib/ld/file/files.rb
ld-0.2.13 lib/ld/file/files.rb
ld-0.2.12 lib/ld/file/files.rb
ld-0.2.11 lib/ld/file/files.rb
ld-0.2.10 lib/ld/file/files.rb
ld-0.2.7 lib/ld/file/files.rb
ld-0.2.6 lib/ld/file/files.rb
ld-0.2.3 lib/ld/file/files.rb
ld-0.2.2 lib/ld/file/files.rb
ld-0.2.1 lib/ld/file/files.rb