Appears that my issue here was with how pry outputs the result of this concatenation. If I run the same code in an irb console, concatenation works as expected.
pry
irb