lib/99_game.rb in 99_game-3.0.0.pre.98 vs lib/99_game.rb in 99_game-3.0.0.pre.100
- old
+ new
@@ -81,9 +81,10 @@
# Allows you to see your cards.
def view
print "\tThese are your cards: "
@hand.each {|card| print "\t#{card.num}"}
end
+ alias inspect hand
end
# Combines sleep and a newline. 'p' is the amount of time waited.
def pause(p)
sleep p
puts