summaryrefslogtreecommitdiff
path: root/ruby/lowercase.rb
blob: 52c10970fe67f5dfbaf48ca44618185872917516 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env ruby

STDIN.set_encoding 'utf-8'
STDOUT.set_encoding 'utf-8'


while line = STDIN.gets
  STDOUT.write line.downcase
end