String interpolation: Difference between revisions

Content deleted Content added
No edit summary
Ruby: % works too
Line 59:
apples = 4
puts "I have #{apples} apples"
# or
puts "I have % apples" % apples
</source>