On Fri, Apr 2, 2010 at 9:42 PM, Tom Stone <s1ay3r44 / gmail.com> wrote:
> Hi,I'm new here.
>
> I have a question:
>
> What exactly does the '@' symbol mean when used for the scope of a
> variable?
> For instance: @screen=[640,400].
>
> I haven't found anything explicitly explaining exactly what this does.

It means it's an instance variable of the object that is currently
self in that context.
For example:

class A
def initialize
@value = 3
end
end

a = A.new

The object referenced by a has an instance variable called @value with value 3.

Jesus.