Archives for “ruby”

Ruby shovel operator: What the?!

This is taken from the Ruby Koans. It’s the shovel operator, and it appends stuff to a string. original_string = "Hello, " hi = original_string there = "World" hi