I got some newbie questions which I would very much appreciate if
someone could answer (in a way that a newbie would understand):

1. What does @ mean in Ruby? Im sure I have seen variables like this:
@variable. A new datatype like the :symbol perhaps?

2. Hash.new {0}
   anotherhash.values.each {|x| thecreatedhash[x] += 1}

What makes the hash created above different from a hash created the
normal way? I can execute the block on a hash created with that method
but not a normal empty hash created manually.

3. Is there any difference using Dir.entries "the directory"
compared to using
Dir.glob "*" if you use them on the same directory?

Thanks in advance!

-- 
Posted via http://www.ruby-forum.com/.