News for hackers. Stuff that matters.
Re:Ruby One-Liners by emmelaich on Saturday September 14, 2019 @03:22AM (#20969408)
What really baked my noodle is that there is another "end" called __END__ used like this

  $ cat data.rb 
  DATA.each_line { |ln|puts ln }

  __END__
  fish
  cat
  dog

  $ ruby data.rb 
  fish
  cat
  dog

There are no comments on this comment yet.