Class: StudioGame::LoadedDie
Instance Attribute Summary
Attributes inherited from Die
Instance Method Summary collapse
Methods inherited from Die
Methods included from Auditable
Constructor Details
This class inherits a constructor from StudioGame::Die
Instance Method Details
#roll ⇒ Object
5 6 7 8 9 10 |
# File 'lib/studio_game/loaded_die.rb', line 5 def roll numbers = [1,1,2,5,6,6] @number = numbers.sample audit @number end |