you want to display it?
# This dumps the object to console
x = (1..10).to_a
puts x.inspect
# This prints items individually...
x = (1..10).to_a
x.each do |num|
puts num
end
# This prints only numbers....
x = (1..10).to_a
x.each do |num|
if num.is_a?(Integer)
puts num
end
end