class BetStraight

Overview

This is a bet that covers only one number. In order to make this bet, place the chip inside the square of the number.

Defined in:

roulette/bet/bet_type/bet_straight.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(number : Int32) #

[View source]

Instance Method Detail

def display : String #

[View source]
def dividend : Int32 #

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

[View source]