Merge pull request #110 from noahlz/master

Minor fixes to ruby.html
This commit is contained in:
Adam Bard 2013-07-07 23:32:20 -07:00
commit f698fb6fbb

View File

@ -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