lib/cards_lib.rb in cards_lib-0.2.2 vs lib/cards_lib.rb in cards_lib-0.2.3
- old
+ new
@@ -10,7 +10,7 @@
# Macro
# Cards[]
# generate Card instances from string
# representations of their faces
- Cards = ->*c{ c.map {|*opts| Card.new(*opts.flatten)} }
+ Cards = ->*c{ c.map {|*opts| Card.new(*opts)} }
end