Created
January 31, 2015 23:23
-
-
Save chrisbodhi/15210705414f1b4afcf2 to your computer and use it in GitHub Desktop.
Before refactor
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
if file_info[:control_info].length > 0 | |
all_keys = [] | |
keys = [] | |
file_info.each do |fi| | |
fi[:control_info].each do |arr| | |
keys << arr[1] | |
end | |
all_keys += [keys] | |
keys = [] | |
end | |
all_keys | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment