   end
 
   @doc """
-  Stops the IO device and returns remaining buffers
+  Stops the IO device and returns remaining buffers.
 
   ## Examples
 

  defrecordp :state, input: "", output: "", capture_prompt: false

  @doc """
  creates an io device.

  If the `:capture_prompt` option is set to `true`,
  prompts (specified as arguments to `IO.get*` functions)

defmodule StringIO do
  @moduledoc """
  This module provides an IO device that wraps a string.

  ## Examples

