code: public void print(String text) {
          try {
              out.write(text);
          } catch(IOException ioe) {
              throw new GroovyRuntimeException(ioe);
          }
      }
docs: Prints a string.
  
  @param  text String to be written