No title Revision 383835326235 (Sat Jan 07 2012 at 18:32) - Diff Link to this snippet: https://friendpaste.com/4qjwN0tVxkX68f2leDnvlo Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 1234567891011121314151617181920212223class ExampleClass p self #=> ExampleClass @variable = "foo" @@variable = "bar" def initialize p self #=> #<ExampleClass:…> @variable = "baz" end def self.test p self #=> ExampleClass puts @variable end def test p self #=> #<ExampleClass:…> self.class.test puts @@variable puts @variable endend