lib/count.rb
#takes in a number as an arg
#prints all numbers counting up to that number
takes in a number as an arg
prints all numbers counting up to that number
takes in a number as an arg prints all numbers counting up to that number
def count(num)
    (0..num).each do |n|
        puts n
    end
end
def count ( num ) ( 0 .. num ) . each do | n | puts n end end
takes in a number as an arg
prints all numbers counting up to that number
takes in a number as an arg prints all numbers counting up to that number
num