Skip to content

Instantly share code, notes, and snippets.

@jodosha
Created November 11, 2013 08:52
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 jodosha/7410007 to your computer and use it in GitHub Desktop.
Save jodosha/7410007 to your computer and use it in GitHub Desktop.
Protip on Ruby's variables string interpolation. Coderwall's markdown to syntax highlight is broken right now. https://coderwall.com/p/sk13pa/edit
##
# Protip on Ruby's variables string interpolation.
# Coderwall's markdown to syntax highlight is broken right now.
#
# https://coderwall.com/p/sk13pa/edit
#
@planet = 'World'
puts "Hello, #@planet!" # => "Hello, World!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment