Created
October 20, 2011 14:09
-
-
Save rodreegez/1301226 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
# my_array is an array of arrays | |
if my_array.any? | |
my_array.each do |my_sub_array| | |
if my_sub_array.any? | |
my_sub_array.each do |my_thing| | |
my_thing.do_something | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment