Created
January 5, 2010 21:45
-
-
Save tal/269764 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File.open(file_path).inject([]) do |result,line| | |
unless start_reading | |
start_reading =~ /ClosureCompiler/i | |
next result | |
end | |
break result if line =~ /\/ClosureCompiler/i | |
logic | |
result | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment