mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Fix typo in ruby.html.markdown
"arugments" => "arguments"
This commit is contained in:
parent
0a6d14f857
commit
03c06ac1bc
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user