String interpolation: Difference between revisions

Content deleted Content added
Ruby: add another variation of ruby interpolation
Line 57:
# or
puts "I have %s apples" % apples
# or
puts "I have %{count} apples" % {count: apples}
</source>