diff options
-rw-r--r-- | ruby.html.markdown | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby.html.markdown b/ruby.html.markdown index af7af918..38d060a3 100644 --- a/ruby.html.markdown +++ b/ruby.html.markdown @@ -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" |