Read.rb

This content was produced by an LLM and could include errors.

This script uses File.read within the IRB console to access and read the entire text content of the specified file (‘filewr.txt’), successfully outputting its contents as a string.

File.read('input/file/filewr.txt')
#=> "Hello"

Ruby 4.0.3