diff --git a/lib/Gym/space_handler.ex b/lib/Gym/space_handler.ex index 4ec92f9..8bed168 100644 --- a/lib/Gym/space_handler.ex +++ b/lib/Gym/space_handler.ex @@ -17,10 +17,10 @@ defmodule Gyx.Gym.Utils do defp parse(gym_space_string) do {regex, type} = Enum.find(@space_types, {nil, :unknown}, fn {regex, _} -> - Regex.match?(regex, Kernel.inspect(gym_space_string)) + Regex.match?(regex, inspect(gym_space_string)) end) - {type, Regex.named_captures(regex, Kernel.inspect(gym_space_string))} + {type, Regex.named_captures(regex, inspect(gym_space_string))} end defp create_space({:discrete, capture}),