class GamalielPelino::Loaded_Die

Attributes

number[R]

Public Instance Methods

roll() click to toggle source
# File lib/GamalielPelino/Agam21_loadedDie.rb, line 8
def roll
  numbers = [1, 1, 2, 5, 6, 6]
  @number = numbers.sample
  audit
  @number
end