Sha256: fe01f6f9726ffdf912d1e4454b72968d37fad7f429abf18d3c7339dab8e10924

Contents?: true

Size: 209 Bytes

Versions: 1

Compression:

Stored size: 209 Bytes

Contents

require_relative 'auditable'

module StudioGame
	class LoadedDie
		include Auditable
		attr_reader :number

		def roll
			numbers = [1,1,2,5,6,6]
			@number = numbers.sample
			audit
			@number
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
studio_game_20150214-1.0.0 lib/studio_game/loaded_die.rb