txt: ## relative.md
  relative
  
  Combined from primary sources listed below.
  
  # [In IO::Path](#___top "go to top of document")[§](#(IO::Path)_method_relative "direct link")
  
  See primary documentation
  [in context](/type/IO/Path#method_relative)
  for **method relative**.
  
  ```raku
  method relative(IO::Path:D: $base = $*CWD --> Str)
  ```
  
  Returns a new [`Str`](/type/Str) object with the path relative to the `$base`. If `$base` is not provided, `$*CWD` is used in its place. If the invocant is not an absolute path, it's first made to be absolute using the `.CWD` attribute the object was created with, and then is made relative to `$base`.
  