Re: newbie: pipe

In a message dated 11/19/2006 2:20:31 P.M. US Mountain Standard Time,
[email protected] writes:

John Giles [email protected] writes:

Im pretty new to programming in general and ruby is only the second
language that ive taken on. ive been reading around looking at code
examples etc… and something that keeps coming up is pipe ie:
|something_in_here|. Could someone give an example of how this works and
what it exactly does because ive never seen it before and google
isnt helping.

It is declaring an argument to a block. If you have never seen it
before, you should shred your introduction to Ruby. But it sounds
like you already did, and that might be your problem.

David K., Kriemhildstr. 15, 44793 Bochum

Boy! That was a lot of help David. Remind me to call on you whenever I

Charles G.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs