We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5923417 commit 05d6c19Copy full SHA for 05d6c19
1 file changed
dog.rb
@@ -8,7 +8,7 @@ def initialize(color, type)
8
def give(bone)
9
# ensuring that the dog has less than three bones in order to accept a new
10
# one
11
- if @bones.length < 3
+ if @bones.length < 5
12
# add the bone to the bones array
13
@bones << bone
14
else
0 commit comments