Skip to content

Commit 94ad765

Browse files
committed
change the number of bones to 8
1 parent 1c0e731 commit 94ad765

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
@@ -7,7 +7,7 @@ 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
10+
# one
1111
if @bones.length < 10
1212
# add the bone to the bones array
1313
@bones << bone

0 commit comments

Comments
 (0)