lib/bridge/bid.rb in bridge-0.0.9 vs lib/bridge/bid.rb in bridge-0.0.10

- old
+ new

@@ -18,9 +18,13 @@ # Returns the suit of the bid def suit bid[1..-1] if contract? end + def trump + suit if Bridge.trump?(suit) + end + def pass? Bridge.pass?(bid) end def double?