Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
String interpolation: Difference between revisions
Article
Talk
Language
Watch
View history
Edit
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Visual
Wikitext
Revision as of 10:42, 12 October 2011
edit
91.50.234.206
(
talk
)
→
Ruby
:
% works too
← Previous edit
Revision as of 10:43, 12 October 2011
edit
undo
91.50.234.206
(
talk
)
→
Ruby
:
fixed typo
Next edit →
Line 60:
puts "I have #{apples} apples"
# or
puts "I have %
s
apples" % apples
</source>