6zqJVHRCjqrvWictpSmVjD changeset

Changeset643834373865 (b)
ParentNone (a)
ab
0+class ExampleClass
0+  @variable = "foo"
0+  @@variable = "bar"
0+
0+  def self.test
0+    puts @variable
0+  end
0+ 
0+end
0+
0+
0+
0+ExampleClassInstance.test
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- Revision None
+++ Revision 643834373865
@@ -0,0 +1,13 @@
+class ExampleClass
+ @variable = "foo"
+ @@variable = "bar"
+
+ def self.test
+ puts @variable
+ end
+
+end
+
+
+
+ExampleClassInstance.test