$param = k.chomp.split("\t")

How can I find the length of $param given that it is an array? actually when I'm writing

puts $param.class

I got the o/p like Array. Now how do I find the length of this array?

I tried $param.length but it's not working.

Edit
Report