Skip to content

Commit

Permalink
Create Ruby Exercises #16
Browse files Browse the repository at this point in the history
  • Loading branch information
raspy8766 committed Sep 17, 2014
1 parent 6f7dba6 commit e5abd28
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Ruby Exercises #16
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
a = ['white snow', 'winter wonderland', 'melting ice',
'slippery sidewalk', 'salted roads', 'white trees']

a.map! { |x| x.split }

a.flatten!

print a

0 comments on commit e5abd28

Please sign in to comment.