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

- old
+ new

@@ -10,10 +10,10 @@ raise ArgumentError, "invalid bid: #{bid}" unless Bridge.bid?(@bid) end # Returns the level of the bid def level - bid[0] if contract? + bid[0..0] if contract? end # Returns the suit of the bid def suit bid[1..-1] if contract?