summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ruby.html.markdown6
1 files changed, 4 insertions, 2 deletions
diff --git a/ruby.html.markdown b/ruby.html.markdown
index a277667b..6e618861 100644
--- a/ruby.html.markdown
+++ b/ruby.html.markdown
@@ -216,7 +216,9 @@ when 'D'
puts "Scraping through"
when 'F'
puts "You failed!"
-
+else
+ puts "Alternative grading system, eh?"
+end
# Functions
@@ -283,7 +285,7 @@ class Human
end
# A class method uses self to distinguish from instance methods.
- $ It can only be called on the class, not an instance.
+ # It can only be called on the class, not an instance.
def self.say(msg)
puts "#{msg}"
end