Skip to content

Instantly share code, notes, and snippets.

@xcobar

xcobar/rb.rb Secret

Created July 31, 2019 11:19
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 xcobar/80e81b9394de9d93e093facfdb6d5ff3 to your computer and use it in GitHub Desktop.
Save xcobar/80e81b9394de9d93e093facfdb6d5ff3 to your computer and use it in GitHub Desktop.
ret = ''
ret << some_method if something
ret << some_method1 if something4
ret << some_method2 if something6
ret << some_method3 if somethingx
ret.html_safe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment