-
-
Save 3limin4t0r/05f1e1cba5c590127b9982b0d92c37e2 to your computer and use it in GitHub Desktop.
This file contains 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
index, vendor = MSG.find do |vendor, pattern| | |
index = log.find_index { |e| e.match?(pattern) } | |
break index, vendor if index | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment