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:
@@ -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."
|
||||
|
Reference in New Issue
Block a user