1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-12 09:44:24 +02:00
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

@@ -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"