In Files

Methods

Files

RD::Filter::FileInclude

Public Class Methods

find_file(file, part) click to toggle source
# File lib/rd/filter.rb, line 27
def find_file(file, part)
  for dir in part.tree.include_path
    begin
      return open(dir + "/" + file)
    rescue
      next
    end
  end
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.