Skip to content

Commit 0fe763e

Browse files
committed
change the number of bones to 9
1 parent 94ad765 commit 0fe763e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dog.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ def initialize(color, type)
77

88
def give(bone)
99
# ensuring that the dog has less than three bones in order to accept a new
10-
# one
11-
if @bones.length < 10
10+
# one
11+
if @bones.length < 9
1212
# add the bone to the bones array
1313
@bones << bone
1414
else

0 commit comments

Comments
 (0)