lib/bridge/bid.rb in bridge-0.0.12 vs lib/bridge/bid.rb in bridge-0.0.13
- old
+ new
@@ -22,9 +22,22 @@
def trump
suit if Bridge.trump?(suit)
end
+ def minor?
+ Bridge.minor?(suit)
+ end
+
+ def major?
+ Bridge.major?(suit)
+ end
+
+ def no_trump?
+ Bridge.no_trump?(suit)
+ end
+ alias :nt? :no_trump?
+
def pass?
Bridge.pass?(bid)
end
def double?