Sha256: 66b2a303a3e6f94b1a56b770a7f0974582e828bf548d5eff9cad0ced25dbe7f7

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 Bytes

Contents

grades = %w{A B A C D F}

for grade in grades

case grade
when "A", "B"
  puts 'You are pretty smart!'
when "C"
  puts 'You are intelligent!'
end

end

num = 5

case num
when 1
  puts 'Your input was 1'
when 2
  puts 'Your input was 2'
else
puts "Your input was greater than 2"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nilac-0.0.4.3.9.1 shark/test_files/case.nila
nilac-0.0.4.3.9 shark/test_files/case.nila
nilac-0.0.4.3.8 shark/test_files/case.nila