code: public static void foreach(String path, Consumer<? super String> block) {
      Ruby.Enumerator.of(new EachLineIterable(new File(path))).each(block);
    }
docs: Iterates a file line by line.
  
  @param path
  of a File
  @param block
  to process each line