IHYPRESS.NET
RUBY
HOME | ASP | C | CSS | HTML | JAVASCRIPT | PERL | PHP | PYTHON | RUBY | SVG
Earn Free Bitcoin
Ruby (CGI Programming) ❯ Here Documents
<13>
#!/usr/bin/ruby puts "Content-type: text/html\n\n" print <<HERE1 # simple heredoc <div style="color:red"> If you come to a fork in the road, take it. </div> HERE1 print <<HERE2 <div style="color:blue;"> It ain't over till it's over. </div> HERE2
If you come to a fork in the road, take it.
It ain't over till it's over.
COPYRIGHT © 2015-2024 IHYPRESS.NET. A DIVISION OF IHY PRESS. ALL RIGHTS RESERVED.