Skip to content

Instantly share code, notes, and snippets.

@jamesonjlee
Created November 22, 2014 11:48
Show Gist options
  • Save jamesonjlee/be5091351cc6c31f34a6 to your computer and use it in GitHub Desktop.
Save jamesonjlee/be5091351cc6c31f34a6 to your computer and use it in GitHub Desktop.
always test in prod guys
irb(main):001:0> "CloudAMQP-#@name0*"
=> "CloudAMQP-*"
irb(main):002:0> @name = 'blue-chicken'
=> "blue-chicken"
irb(main):003:0> "CloudAMQP-#@name*"
=> "CloudAMQP-blue-chicken*"
irb(main):004:0> "CloudAMQP-#@name0*"
=> "CloudAMQP-*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment