summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-08-16 08:40:30 -0700
committerAdam Bard <github@adambard.com>2013-08-16 08:40:30 -0700
commitd9d2c9e6ea274202c776c74750ceb3b2c540ba19 (patch)
tree7f4150acc684ab3f14999ea176514df1e9dd4228
parent80f97751a21b0c04ee077c23b715a8adc0063788 (diff)
parent6062618d358839e22f4bbe6348658253ad2e0209 (diff)
Merge pull request #222 from GRoguelon/fix-ruby-en
Fixed a missing character in Ruby language.
-rw-r--r--ruby.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/ruby.html.markdown b/ruby.html.markdown
index 19f2ec86..3a233d98 100644
--- a/ruby.html.markdown
+++ b/ruby.html.markdown
@@ -36,7 +36,7 @@ You shouldn't either
# Arithmetic is just syntactic sugar
# for calling a method on an object
1.+(3) #=> 4
-10.* 5 #=> 50
+10.* 5 #=> 50
# Special values are objects
nil # Nothing to see here
@@ -242,7 +242,7 @@ when 'D'
puts "Scraping through"
when 'F'
puts "You failed!"
-else
+else
puts "Alternative grading system, eh?"
end
@@ -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