My Webapp Development Log
Wednesday, October 12, 2011
Types of Ruby variables
local variable: foobar
Instance variable: @foobar
Class variable: @@foobar
Global variable: $foobar
http://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Variables_and_Constants
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment