-
-
Save anonymous/63a64c8721811dea2b30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Options | |
puts "1 = Login , 2 = News title, 3 = News body" | |
option = gets() | |
if option == 1 | |
puts "Login" | |
end | |
if option == 2 | |
puts "News title" | |
else | |
puts "News body" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment