class StudioGame::LoadedDie
Attributes
number[R]
Public Class Methods
new()
click to toggle source
# File lib/studio_game/loaded_die.rb, line 8 def initialize roll end
Public Instance Methods
roll()
click to toggle source
# File lib/studio_game/loaded_die.rb, line 12 def roll numbers = [1, 1, 2, 5, 6, 6] @number = numbers.sample audit @number end