String interpolation: Difference between revisions

Content deleted Content added
Ruby: % works too
Ruby: fixed typo
Line 60:
puts "I have #{apples} apples"
# or
puts "I have %s apples" % apples
</source>