Created
November 9, 2015 13:41
-
-
Save ongaeshi/034fb1fd4fb737127ab5 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
# Please return the Image object in the | |
def convert | |
imgs = Image.pick_from_library(9) | |
ImageUtil.horizontal([ | |
imgs[0].square, | |
ImageUtil.grid(imgs[1..4].map { |e| e.square }), | |
ImageUtil.grid(imgs[5..8].map { |e| e.square }) | |
]) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment