Method: Rassphrase::Dice#initialize
- Defined in:
- lib/rassphrase/dice.rb
#initialize ⇒ Dice
Creates a new instance of a dice
5 6 7 8 |
# File 'lib/rassphrase/dice.rb', line 5 def initialize @random = Random.new @roll_count = 0 end |
Creates a new instance of a dice
5 6 7 8 |
# File 'lib/rassphrase/dice.rb', line 5 def initialize @random = Random.new @roll_count = 0 end |