6zqJVHRCjqrvWictpSmVjD changeset
Changeset | 643834373865 (b) |
---|---|
Parent | None (a) |
a | b | ||
---|---|---|---|
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 | |
... |
|
|