lib/cards_lib/card.rb in cards_lib-0.2.0 vs lib/cards_lib/card.rb in cards_lib-0.2.1
- old
+ new
@@ -9,9 +9,13 @@
@face ||= face
@ranker = ranker.new(self.rank)
end
+ def inspect
+ "(Card)"
+ end
+
def face
@face
end
def suit