reading-and-writing-to-files ruby class def code example Example: ruby read file file = File.open("yourPath.txt") results = file.read