lib/bridge/bid.rb in bridge-0.0.14 vs lib/bridge/bid.rb in bridge-0.0.15

- old
+ new

@@ -51,9 +51,17 @@ def modifier? Bridge.modifier?(bid) end + def small_slam? + level.to_i == 6 + end + + def grand_slam? + level.to_i == 7 + end + def contract? Bridge.contract?(bid) end def <=>(other)