You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
577 B
30 lines
577 B
4 months ago
|
#!/usr/bin/env ruby
|
||
|
LANGUAGES = [
|
||
|
"ru-RU",
|
||
|
"en-EN",
|
||
|
"de-DE"
|
||
|
]
|
||
|
|
||
|
|
||
|
def main()
|
||
|
user_name = ARGV[0]
|
||
|
puts "Hello my catgirl #{user_name}! \n What is your love language?"
|
||
|
LANGUAGES.each { |language| puts "#{language}", " " }
|
||
|
user_lang = gets.chomp
|
||
|
user_lang = "ruby"
|
||
|
case user_lang
|
||
|
when "ruby"
|
||
|
puts "Подлиза \n"
|
||
|
when "c++"
|
||
|
puts "MATLAB скушал? \n"
|
||
|
when "TS/JS"
|
||
|
puts "Фронтендер, Фууу! \n"
|
||
|
when "py"
|
||
|
puts "Девопсер, иди ДАГИ писать \n"
|
||
|
end
|
||
|
end
|
||
|
|
||
|
|
||
|
main()
|
||
|
|