Softlogger
Categories

Aliasing Global Variables in Ruby


And while I am becoming quite the language lawyer, I should mention that Ruby’s alias statement treats global variables quite differently from other kinds of variables. When aliasing global symbols, the global variable itself is aliased and not evaluated. The result is a true alias, not a copy, so you cannot

Filed under: Ruby on Rails  |    On : 2008 Jan 05  |  From: jvoorhis   | related Posts

Similar Posts



Most Popular

Archives

  • 2008
  • 2007
  • 2006
  • 2005
  • 2004
  • 2003