C
Chris Hickman
I am using .each to pull apart a string at every space. Is there a way
to peek ahead to see what the next substring is without moving to the
next substring in the block?
I have a ruby book and I was searching for this through google but have
had no luck so far. Didn't know if this was an easy answer for anybody.
Thanks in advance,
Chris
to peek ahead to see what the next substring is without moving to the
next substring in the block?
I have a ruby book and I was searching for this through google but have
had no luck so far. Didn't know if this was an easy answer for anybody.
Thanks in advance,
Chris