Boin
Sunday, 15 September 2013
Trying to understand Ruby arrays
Trying to understand Ruby arrays
array = [:peanut, :butter, :and, :jelly]
Why array[4,0] is [] and array[5,0] is nil ?
I'm new to ruby, sorry if this is a basic question.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment