Skip to content

Commit 804e842

Browse files
committed
change the number of bones to 9
1 parent 2214415 commit 804e842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dog.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def initialize(color, type)
88
def give(bone)
99
# ensuring that the dog has less than three bones in order to accept a new
1010
# one
11-
if @bones.length < 8
11+
if @bones.length < 9
1212
# add the bone to the bones array
1313
@bones << bone
1414
else

0 commit comments

Comments
 (0)