class ToccoStudioGame::Die

Attributes

number[R]

Public Instance Methods

roll() click to toggle source
# File lib/tocco_studio_game/die.rb, line 7
def roll
        @number = rand(1..6)
        audit
        @number
end