From 1b8af74122f653c1278617b7839bf41fddd8c60e Mon Sep 17 00:00:00 2001 From: Ricardo C Date: Thu, 28 Feb 2019 20:25:23 -0600 Subject: [PATCH] remove unnecesary Kernel reference for inspect #26 --- lib/Gym/space_handler.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}),