Stdin.rb
This content was produced by an LLM and could include errors.
This script demonstrates the IRB shell environment. It executes $stdin.read, which captures all standard input. Since nothing was piped or entered for reading, the function correctly returns nil.
# $stdin.read
#=> nil
Ruby 4.0.3