diff options
author | Claudio Secco <41170119+claudiosecco@users.noreply.github.com> | 2020-07-07 20:27:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 20:27:34 -0300 |
commit | 20a468579ac87bd56f1f9e95a7f065e3519522af (patch) | |
tree | a7e7889fa7aea4af47146b759059f25921d2cc73 /ruby.html.markdown | |
parent | d9ee9ce3903f078c68d796464c70c463c1bf133b (diff) |
[ruby/en] fix typo
Diffstat (limited to 'ruby.html.markdown')
-rw-r--r-- | ruby.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.html.markdown b/ruby.html.markdown index 3111d09b..0e35a7ec 100644 --- a/ruby.html.markdown +++ b/ruby.html.markdown @@ -327,7 +327,7 @@ puts doubled puts array #=> [1,2,3,4,5] -# another useful sintax is .map(&:method) +# another useful syntax is .map(&:method) a = ["FOO", "BAR", "BAZ"] a.map { |s| s.downcase } #=> ["foo", "bar", "baz"] a.map(&:downcase) #=> ["foo", "bar", "baz"] |