I’d like to traverse thru the contents of the session object
I’ve been looking at C:\ruby\lib\ruby\1.8\cgi\session.rb and found out
that there’s no each method in it.
So I tried to make accesible the data collection.
First I tried with something like this
def each(block) unless @data @data = @dbman.restore end @data.each block end
I edited the file, but nothing seems to happen.
I even tried to set a breakpoint, but again nothing happens.
Is there some way to debug that file???
And then, taking into account that ruby is a fully interpreted language,
how come my changes are being ignored???
PS: I apologize if this is a stupid question. I’m just taking my very
first steps with ruby and with rails.