Eno::List » #length
length → number
Returns the count of items in the list.
enocolors:
- pink
- peach
rubylist = Eno.parse(input).element('colors')
list.length #=> 2
Return value
The number of items in the list as a number.
Returns the count of items in the list.
enocolors:
- pink
- peach
rubylist = Eno.parse(input).element('colors')
list.length #=> 2
The number of items in the list as a number.