class EulerPoker::Straight
Public Instance Methods
instance_comparison(other)
click to toggle source
# File lib/euler_poker/hands/straight.rb, line 5 def instance_comparison(other) return ranks.max <=> other.ranks.max end
valid?()
click to toggle source
# File lib/euler_poker/hands/straight.rb, line 9 def valid? straight? end