=> Operator?

I searched for => on 2 different sites but cannot find what it does.
 
http://www.tutorialspoint.com/ruby/ruby_operators.htm
http://www.rpg-maker.fr/dl/monos/aide/vx/source/rgss/syntax04.html
 
It looks like a symbol used to indicate output resulting from code; for example:

foo = 42defined? foo # => "local-variable"=> is mostly used in the Luna engine and only rarely in the vanilla scripts. For example:

# ----------------------------------------------------------------- # This allows you to set a variable to change the skin of this particular # section of the menu. The default is Variable 1. Remember that it reads # it as a string (e.g. $game_variables[1] = “Menu_Green”). # ----------------------------------------------------------------- :background_variable => 1,Does this mean it changes itself to Variable 1?
don't know about the first example. In the second it's placing the value of 1 into the hash with the key :background_variable so yes, it's an assignment operator for hashes, but you can't do the same for any type of variable.
# starts a line  comment so.... it does nothing on the first example.
oh yeah - I was assuming he wanted to know what it would do if the comment sign were not there. I still don't know 🙂
Actually if foo is not a part of a hash table neither do I I suppose. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/operator.42718/