Displaying 2 results from an estimated 2 matches for "picax".
Did you mean:
picxx
2006 Apr 25
2
how can I access a class variable outside of the class???
Hi
we wanted to access a class varaible from outside of
the same class, like
class klass
@@var1
end
we found out we can not use the class variable like
this:
klass.var1 we have to create a class function like
class klass
@@var1
def var1
return @@var1
end
end
If anyone know how to access a class variable directly
without passing by a function???
Thanks you very much
2006 Feb 14
25
Rails and background tasks/threads
I am just getting into web servers/web applications and rails as well
so bear with me. I am trying to write a web app that, based on a
users input from the browser, will perform some task, and update the
browser (ala ajax style) as needed and/or provide a way for the user to
control the background task.
Now, I have more experience with java servlets, which makes this easy
enough for a beginner.