summaryrefslogtreecommitdiffhomepage
path: root/ruby.html.markdown
diff options
context:
space:
mode:
authorAdam <adam@adambard.com>2013-07-17 10:24:29 -0700
committerAdam <adam@adambard.com>2013-07-17 10:24:29 -0700
commitf9dc1781e92d8a991fbfbe07446308f9431198b6 (patch)
tree9e84c7ca35ef747a611c9ace661ac36a20c3dcc4 /ruby.html.markdown
parentb1fe88fe179d92d8d8eeec0eac8842feb0334e74 (diff)
parent9dabe51ad7cb6799040639ded9cf630d87c9508c (diff)
Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs
Diffstat (limited to 'ruby.html.markdown')
-rw-r--r--ruby.html.markdown2
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"