diff options
author | SmuSmu <SmuSmu@users.noreply.github.com> | 2018-10-29 10:38:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 10:38:48 +0100 |
commit | 1372607b2ae40edf54fe4d04e3dfd3b789016c8e (patch) | |
tree | 95d30e2ae24ffaf6acb66f671b20e6b75713f0c3 /crystal.html.markdown | |
parent | 3a41a6006ff421b45ae46a521b900216ac28daf7 (diff) | |
parent | 9317733e2388ccafeea9c331443fe5f42b611390 (diff) |
Merge pull request #1 from adambard/master
ff
Diffstat (limited to 'crystal.html.markdown')
-rw-r--r-- | crystal.html.markdown | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crystal.html.markdown b/crystal.html.markdown index 15cbc0b1..8210b443 100644 --- a/crystal.html.markdown +++ b/crystal.html.markdown @@ -301,7 +301,6 @@ end (1..3).each do |index| puts "Index: #{index}" end -# Index: 0 # Index: 1 # Index: 2 # Index: 3 @@ -422,7 +421,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 |