Skip to content

Instantly share code, notes, and snippets.

@koseki
Created November 24, 2009 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koseki/241732 to your computer and use it in GitHub Desktop.
Save koseki/241732 to your computer and use it in GitHub Desktop.
<%= _erb body %>
module SmallCage
module ErbHelper
# Evaluate ERB source.
def _erb(source)
@renderer.render_string(source, @obj)
end
end
end
template: erb
--- |
<%= Time.now.to_s %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment