2 ms·
Note that Ruby allows non-braced interpolation with instance variables. So: irb(main):006:0> @foo = 'bar' => "bar" irb(main):007:0> "This is the value o
by aetherson 12y ago
Note that Ruby allows non-braced interpolation with instance variables. So:
irb(main):006:0> @foo = 'bar'
=> "bar"
irb(main):007:0> "This is the value of foo: #@foo"
=> "This is the value of foo: bar"