ruby one liners start with -e

ruby -e 'p "Hello World".split(" ").join(" ").to_s + "!"'

Advertisements