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

refactor GroovyShell.evaluate() to be simpler to use

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.0-beta-4
    • None
    • None

    Description

      shell = new GroovyShell()
      answer = shell.evaluate("10 * 20")
      answer = shell.evaluate(new URL(...))
      answer = shell.evaluate(new File(...)))
      answer = shell.evaluate(readerOrWriter, String name)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: