mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-04 22:07:52 +02:00
case statement needs end. Also added else
This commit is contained in:
@@ -214,7 +214,9 @@ when 'D'
|
|||||||
puts "Scraping through"
|
puts "Scraping through"
|
||||||
when 'F'
|
when 'F'
|
||||||
puts "You failed!"
|
puts "You failed!"
|
||||||
|
else
|
||||||
|
puts "Alternative grading system, eh?"
|
||||||
|
end
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user