Ruby’s DATA Stream

The STDIN and ARGF streams are commonly used in Ruby, however there’s also the less popular DATA one. This is how it works and some examples in the wild. How to Read from DATA? Like with any other stream you can use gets and...