programming.nbk: Home | Index | Next Page: Ruby: Operators | Previous Page: Ruby: Methods
Ruby: Names
- Global variable names start with a $: $foo.
- Constants names start with a capital letter: Foo.
- Class names start with a capital letter: Foo.
- Method names start with a lower case letter: foo.
- instance variables start with a single @: @foo.
- class variables start with two @: @foo.
programming.nbk: Home | Index | Next Page: Ruby: Operators | Previous Page: Ruby: Methods
Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time