Sha256: 2c5d342a8ac9c90f560256b150a2b3675f00a87109ea7d36568e3c004a848e7a

Contents?: true

Size: 173 Bytes

Versions: 3

Compression:

Stored size: 173 Bytes

Contents

module AwesomeGameRandomizer
  class Dice
    def self.roll(num)
      dice = []
      num.times do
        dice << rand(1..6)
      end
      return dice
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
awesome_game_randomizer-0.1.3 lib/awesome_game_randomizer/dice_roll.rb
awesome_game_randomizer-0.1.2 lib/awesome_game_randomizer/dice_roll.rb
awesome_game_randomizer-0.1.1 lib/awesome_game_randomizer/dice_roll.rb