Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arguments = ARGV[0]
- if (Gem.win_platform? and ARGV[0])
- arguments = arguments.encode(ARGV[0].encoding, "cp1251").encode("UTF-8")
- end
- if (arguments == "дурак")
- puts "сам дурак"
- else
- puts "здравствуй дорогой!"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement