From b777242fb783d57b258c18645144b273e7eb0e13 Mon Sep 17 00:00:00 2001 From: Daniel Amireh Date: Mon, 13 Nov 2017 20:33:44 +0100 Subject: [PATCH] Update crystal.html.markdown attr_accessor -> property --- crystal.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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