# File lib/kwala/lib/cycle_detector.rb, line 635 def self.get_requires(file) reqs = Array.new path = find_file(file) return reqs if path.nil? IO.readlines(path).each_with_index do |line, idx| # Add this break to ignore requires at the end... break if idx > 150 if r = get_require(line) reqs<< r end end reqs end