lib/holdem/poker_hand.rb in holdem-1.1.0 vs lib/holdem/poker_hand.rb in holdem-1.1.1
- old
+ new
@@ -5,10 +5,10 @@
include Comparable
extend Forwardable
rank_methods = [ :rank, :score, :straight_flush?, :quads?, :four_of_a_kind?,
:boat?, :full_house?, :flush?, :straight?, :three_of_a_kind?,
- :trips?, :two_pairs?, :two_pair?, :pair? ]
+ :trips?, :two_pairs?, :two_pair?, :pair?, :open_ended? ]
def_delegators :@poker_rank, *rank_methods
attr_reader :cards, :poker_rank
def initialize(cards)