From 48448599ffe81772bc8b01fffeb63af353913748 Mon Sep 17 00:00:00 2001 From: noahlz Date: Fri, 5 Jul 2013 22:08:46 -0400 Subject: s/$/#/ typo --- ruby.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby.html.markdown b/ruby.html.markdown index 2c9a4cb9..8b223000 100644 --- a/ruby.html.markdown +++ b/ruby.html.markdown @@ -281,7 +281,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 -- cgit v1.2.3 From d1f9b74644392bf6be6c4f8c96b990dfe435f51a Mon Sep 17 00:00:00 2001 From: noahlz Date: Sun, 7 Jul 2013 18:50:18 -0400 Subject: case statement needs end. Also added else --- ruby.html.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ruby.html.markdown b/ruby.html.markdown index 8b223000..560c1750 100644 --- a/ruby.html.markdown +++ b/ruby.html.markdown @@ -214,7 +214,9 @@ when 'D' puts "Scraping through" when 'F' puts "You failed!" - +else + puts "Alternative grading system, eh?" +end # Functions -- cgit v1.2.3