summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDaniel Amireh <daniel@amireh.org>2017-11-13 20:33:44 +0100
committerGitHub <noreply@github.com>2017-11-13 20:33:44 +0100
commitb777242fb783d57b258c18645144b273e7eb0e13 (patch)
tree4088471c9d3f11825104c002336d4e0f06896e66
parent3e52b2e2c4f29193120b242c3d149a261366b56b (diff)
Update crystal.html.markdown
attr_accessor -> property
-rw-r--r--crystal.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/crystal.html.markdown b/crystal.html.markdown
index 15cbc0b1..ad9cf0f8 100644
--- a/crystal.html.markdown
+++ b/crystal.html.markdown
@@ -422,7 +422,7 @@ class Human
@name
end
- # The above functionality can be encapsulated using the attr_accessor method as follows
+ # The above functionality can be encapsulated using the propery method as follows
property :name
# Getter/setter methods can also be created individually like this