mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-17 13:38:38 +01: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
|
end
|
||||||
|
|
||||||
# The 'call' method on the Proc is similar to calling 'yield' when a block is
|
# 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." }
|
guests { |n| "You have #{n} guests." }
|
||||||
# => "You have 4 guests."
|
# => "You have 4 guests."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user