Class: StudioGame::LoadedDie

Inherits:
Die
  • Object
show all
Defined in:
lib/studio_game/loaded_die.rb

Instance Attribute Summary

Attributes inherited from Die

#number

Instance Method Summary collapse

Methods inherited from Die

#roll

Methods included from Auditable

#audit

Constructor Details

#initializeLoadedDie

Returns a new instance of LoadedDie.



6
7
8
9
# File 'lib/studio_game/loaded_die.rb', line 6

def initialize
  @numbers = [1, 1, 2, 5, 6, 6]
  roll
end