Ruby Ruby Loops Ruby Loops The Ruby Loop

Having trouble with this.

Am I using .count correctly?

loop.rb
numbers = []

number = 0

# write your loop here
loop do 
  numbers.push(number)
  number += 1
  if number.count(<= 3)
  end
end

Hi Marguerite,

It looks like you asked this question earlier and have an accepted answer. https://teamtreehouse.com/community/how-do-i-complete-this-code

Try comparing your code here with the answer in your other question and see what's different.

If there's something you don't understand about someone's answer then first try posting a comment there to see if you get a response back rather than posting the question again.

I figured it out right away. Feel silly about it. Will take your suggestion. Thx