Permalink
Browse files

ruby: string interpolation demo

  • Loading branch information...
1 parent f2b39dd commit ceb827ca09318872f224d543c47f1b5129c02aff @firien firien committed Aug 24, 2013
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"

0 comments on commit ceb827c

Please sign in to comment.