mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-17 20:11:57 +02:00
Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs
This commit is contained in:
@@ -305,6 +305,8 @@ dwight = Human.new("Dwight K. Schrute")
|
||||
# Let's call a couple of methods
|
||||
jim.species #=> "H. sapiens"
|
||||
jim.name #=> "Jim Halpert"
|
||||
jim.name = "Jim Halpert II" #=> "Jim Halpert II"
|
||||
jim.name #=> "Jim Halpert II"
|
||||
dwight.species #=> "H. sapiens"
|
||||
dwight.name #=> "Dwight K. Schrute"
|
||||
|
||||
|
Reference in New Issue
Block a user