mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-05 14:28:31 +00:00
Merge pull request #3301 from PFischbeck/patch-1
[ruby/en] Fix typo for ruby
This commit is contained in:
commit
55d1343147
@ -377,7 +377,7 @@ sum sum(3, 4), 5 #=> 12
|
|||||||
|
|
||||||
# yield
|
# yield
|
||||||
# All methods have an implicit, optional block parameter.
|
# All methods have an implicit, optional block parameter.
|
||||||
# Tt can be called with the 'yield' keyword.
|
# It can be called with the 'yield' keyword.
|
||||||
def surround
|
def surround
|
||||||
puts '{'
|
puts '{'
|
||||||
yield
|
yield
|
||||||
|
Loading…
Reference in New Issue
Block a user