Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require_relative 'deps'
- module ImagingUtils
- class Formatter
- def to_upcase(file_to_format)
- @strings = File.open("#{file_to_format}.txt")
- File.open("#{file_to_format}-upcase.txt", 'w') do |strings|
- @strings.each do |line|
- strings.write line.upcase
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement