Created
November 28, 2015 13:13
-
-
Save pbalduino/f0489558e8f1473824ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@0x41e class Foo | |
att_accessor :foo | |
def initialize() | |
@foo = [] | |
end | |
end | |
x = Foo.new | |
x.foo << 'Fail' | |
x.foo | |
>> ['Fail'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment