Skip to content

Instantly share code, notes, and snippets.

@maxy
Last active August 29, 2015 14:05
Show Gist options
  • Save maxy/50cc944d639a9162f97d to your computer and use it in GitHub Desktop.
Save maxy/50cc944d639a9162f97d to your computer and use it in GitHub Desktop.
とある問題の解答
[1,2,3,4,5,6,7,8,9,10,11,12,13].select{|i|i>=5}.map{|i|i.to_s.split ''}.flatten.each{|i| puts i }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment