Skip to content

Instantly share code, notes, and snippets.

@nanodeath
Created April 26, 2009 16:15
Show Gist options
  • Save nanodeath/102080 to your computer and use it in GitHub Desktop.
Save nanodeath/102080 to your computer and use it in GitHub Desktop.
target = eval("self", binding)
unless target.respond_to? :start_capture
target.class.instance_eval { include ::Tenjin::ContextHelper; include ::Tenjin::HtmlHelper; }
end
result.render(target)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment