Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-221

Support """ as an alternative to here-docs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0-beta-4
    • parser
    • None

    Description

      template = """
      <a href="something">hello ${user.name}</a>
      """

      which is cleaner than here-docs

      Attachments

        Activity

          People

            Unassigned Unassigned
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: