This commit is contained in:
Adam 2013-06-28 12:59:45 -07:00
parent b34908e050
commit 2e805c8c02
2 changed files with 3 additions and 1 deletions

View File

@ -333,4 +333,6 @@ int area(rect r){
Best to find yourself a copy of [K&R, aka "The C Programming Language"](https://en.wikipedia.org/wiki/The_C_Programming_Language)
Another good resource is [Learn C the hard way](http://c.learncodethehardway.org/book/)
Other than that, Google is your friend.

View File

@ -395,7 +395,7 @@ print j.say("hello") #prints out "Joel: hello"
i.get_species() #=> "H. sapiens"
# Change the shared attribute
i.species = "H. neanderthalensis"
Human.species = "H. neanderthalensis"
i.get_species() #=> "H. neanderthalensis"
j.get_species() #=> "H. neanderthalensis"