class BetColor

Overview

Bet on the colour of the winning number

Defined in:

roulette/bet/bet_type/bet_color.cr

Constructors

Instance Method Summary

Instance methods inherited from class BetType

display : String display, dividend : Int32 dividend, win?(number : Int32) : Bool win?

Constructor Detail

def self.new(color : Color) #

[View source]

Instance Method Detail

def display : String #

[View source]
def dividend : Int32 #

[View source]
def win?(number : Int32) : Bool #

[View source]