mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-06 14:58:31 +00:00
Merge pull request #222 from GRoguelon/fix-ruby-en
Fixed a missing character in Ruby language.
This commit is contained in:
commit
d9d2c9e6ea
@ -252,7 +252,7 @@ def double(x)
|
||||
x * 2
|
||||
end
|
||||
|
||||
# Functions (and all blocks) implcitly return the value of the last statement
|
||||
# Functions (and all blocks) implicitly return the value of the last statement
|
||||
double(2) #=> 4
|
||||
|
||||
# Parentheses are optional where the result is unambiguous
|
||||
|
Loading…
Reference in New Issue
Block a user