Created
September 24, 2016 13:57
-
-
Save anonymous/9ba6f6bf2c99bc47dfa8ada16815b45d to your computer and use it in GitHub Desktop.
This file contains 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
1 class Person | |
2 attr_accessor :name | |
3 def name | |
4 @autopilot | |
5 end | |
6 end | |
7 | |
8 person = Person.new | |
9 person.name="mark" | |
10 test = person.name | |
11 puts name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment