Skip to content

Commit

Permalink
remove unnecesary Kernel reference for inspect #26
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo C committed Mar 1, 2019
1 parent fd1991d commit 1b8af74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Gym/space_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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}),
Expand Down

0 comments on commit 1b8af74

Please sign in to comment.