Skip to content

Ruby HEREDOC Syntax

[code lang="html"]

html = <<-EOT

all html goes here

EOT

[/code]

  • Share/Bookmark

One Comment

  1. Zaalim Singh wrote:

    Zhhhhaaaaaaaakkkkkkkkaaaaaaaaaassssss!!!!!!!!!

    Keep It Up!!!!!!!!!

    Friday, November 17, 2006 at 12:09 am | Permalink

Post a Comment

You must be logged in to post a comment.