Skip to content

Commit 84c07ec

Browse files
committed
good bones
1 parent e9055e1 commit 84c07ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dog.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ def give(bone)
99
# ensuring that the dog has less than three bones in order to accept a new
1010
# one
1111

12-
if @bones.length < rand(3333)
12+
13+
if @bones.length < 888
14+
1315

1416
# add the bone to the bones array
1517
@bones << bone

0 commit comments

Comments
 (0)