Skip to content

Instantly share code, notes, and snippets.

@lodestone
Created August 27, 2012 19:25
Show Gist options
  • Save lodestone/3491524 to your computer and use it in GitHub Desktop.
Save lodestone/3491524 to your computer and use it in GitHub Desktop.
Using `EOC` in ruby code scripts.
# Using <<`EOC` in the manner lets you run a longer script from within Ruby easily.
print <<`EOC`
echo "This one is for the bitches"
echo "This ones is too"
EOC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment