ri > Puma::NullIO

📦 Puma::NullIO < Object

🚀 Quick Reference

Use Case Command Description
🔍 Create a null IO Puma::NullIO.new Creates an IO-like object that always appears empty
📖 Read from null IO nullio.read Returns empty string (no data)
✍️ Write to null IO nullio.write("data") Ignores input, returns number of bytes written (0)
🔄 Iterate over lines nullio.each { |line| } No iteration (no lines)
🔚 Check end-of-file nullio.eof? Always returns true

📝 Description

Provides an IO-like object that always appears to contain no data. Used as the value for rack.input when the request has no body.

🔧 Instance Methods

Puma::NullIO
📦 Puma::NullIO < Object 🚀 Quick Reference 📝 Description
🔧 Instance Methods

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 00:47 @216.73.217.46
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format