Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ruby: string interpolation demo

  • Loading branch information...
commit ceb827ca09318872f224d543c47f1b5129c02aff 1 parent f2b39dd
@firien firien authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 demos/ruby-test.html
View
4 demos/ruby-test.html
@@ -17,6 +17,10 @@
not_comment
=end
+#string interpolation
+12.times do |x|
+ "Chapter #{x+1}:"
+end
# Strings
'string'
"string"
Please sign in to comment.
Something went wrong with that request. Please try again.