We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94ad765 commit 0fe763eCopy full SHA for 0fe763e
dog.rb
@@ -7,8 +7,8 @@ def initialize(color, type)
7
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 < 10
+ # one
+ if @bones.length < 9
12
# add the bone to the bones array
13
@bones << bone
14
else
0 commit comments