1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-18 04:21:25 +02:00

Merge pull request #3793 from alexmdac/patch-1

[ruby/en] Fix typo in ruby.html.markdown
This commit is contained in:
Andre Polykanine
2019-12-10 11:00:57 +02:00
committed by GitHub

View File

@@ -410,7 +410,7 @@ def guests(&block)
end
# The 'call' method on the Proc is similar to calling 'yield' when a block is
# present. The arguments passed to 'call' will be forwarded to the block as arugments.
# present. The arguments passed to 'call' will be forwarded to the block as arguments.
guests { |n| "You have #{n} guests." }
# => "You have 4 guests."