From 6c92c958c92bf954ae4a7b4b841fc1e6b88625a4 Mon Sep 17 00:00:00 2001 From: threetreeslight Date: Wed, 24 Jul 2019 20:05:26 +0900 Subject: [PATCH] treby feat. RASENN --- dice.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dice.rb diff --git a/dice.rb b/dice.rb new file mode 100644 index 0000000..735a6cf --- /dev/null +++ b/dice.rb @@ -0,0 +1,5 @@ +class Dice + def self.roll + rand(1..6) + end +end