#ruby-lang - Sat 5 May 2007 between 22:46 and 22:50



ekim__I know ... its very obvious
I feel stupid
elevensorry vi.. but its true...
ekim__:(
vim is my favorite
eleveni have found another...
ekim__because I dont own a mac
elevenvim *was* my favorite...
nlogaxcan't wait for TM2.0
not that i know what it will bring, but... mmmm
ekim__hey motion ... how would you do what Im trying to do
motionekim__: fix the loop
nlogaxekim__: tried with each? ;)
ekim__I dont underestand how
On an array
ipaddictnlogax: it will be Leopard-only and ObjC 2.0
nlogaxipaddict: that much i know
ipaddictnlogax: then we're about == ;)
motionekim__: even the ri docs for Dir.[] tell you ut returns an array
ekim__I know it returns an array
but I dont know how to loop through an array
nlogaxAM I INVISIBLE?
ekim__Im a ruby noob
motionnlogax: yes you are
LoganCapaldonlogax: yes
ekim__Indeed
ipaddictnlogax: only to ekim__, apparently
nlogax*sob*
motionekim__: someone already gave yo uteh answer
and we wont repeat it
ekim__ok
motionim snobby tonioght :/
nlogaxi'm a noob too, so i'm nice
ekim__You mean "nlogax: Ekim__: tried with each? ;)"
ipaddictekim__: iterating is about the most well-documented syntax in Ruby
motionisnt looping through an array like the 2nd thing you learn ?:/
ekim__Could I have a link or something ?
nlogaxi don't know much, but me and .each are tight
ekim__Im not expecting you to teach me or anything
What is the form of .each

Page: 5 12 19 26 33 40 47 

IrcArchive