Skip to content

Instantly share code, notes, and snippets.

@zachhale
Created February 3, 2010 01:16
Show Gist options
  • Save zachhale/293241 to your computer and use it in GitHub Desktop.
Save zachhale/293241 to your computer and use it in GitHub Desktop.
require 'erb'
@user = "Zach"
template = <<-TEMPLATE
Howdy <%= @user %>!
TEMPLATE
ERB.new(template).result(binding)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment