summaryrefslogtreecommitdiff
path: root/lib/chessh/utils.ex
blob: 1a7f8cf82580f102e611725b0b8c2cf98fbb1bd9 (plain)
1
2
3
4
5
6
7
8
9
defmodule Chessh.Utils do
  def pid_to_str(pid) do
    pid
    |> :erlang.pid_to_list()
    |> List.delete_at(0)
    |> List.delete_at(-1)
    |> to_string()
  end
end