Flowdock
find(file , paths = $:) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/irb/locale.rb, line 140
    def find(file , paths = $:)
      dir = File.dirname(file)
      dir = "" if dir == "."
      base = File.basename(file)
      if dir[0] == // #/
          return lc_path = search_file(dir, base)
      else
        for path in $:
          if lc_path = search_file(path + "/" + dir, base)
            return lc_path
          end
        end
      end
      nil
    end
Register or log in to add new notes.