Skip to content

Instantly share code, notes, and snippets.

@aderyabin
Created April 12, 2012 16:17
Show Gist options
  • Select an option

  • Save aderyabin/2368765 to your computer and use it in GitHub Desktop.

Select an option

Save aderyabin/2368765 to your computer and use it in GitHub Desktop.
rubinius
a = tag(:b)
=> "<b />"
rubinius-2.0.0dev :015 > a.html_safe?
=> true
rubinius-2.0.0dev :016 > a.dup.html_safe?
=> nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment