lib/ahl_scraper/resources/seasons/team.rb in ahl_scraper-0.3.1 vs lib/ahl_scraper/resources/seasons/team.rb in ahl_scraper-0.3.2

- old
+ new

@@ -49,14 +49,14 @@ def parameterized_name @parameterized_name ||= ParameterizeHelper.new(full_name).call end def city - @city ||= full_name.split.length > 2 ? exception_split_object&.dig(:city) : full_name.split[0] + @city ||= full_name&.split.length > 2 ? exception_split_object&.dig(:city) : full_name&.split[0] end def name - @name ||= full_name.split.length > 2 ? exception_split_object&.dig(:name) : full_name.split[1] + @name ||= full_name&.split.length > 2 ? exception_split_object&.dig(:name) : full_name&.split[1] end def game_file_city @game_file_city ||= EXCEPTIONS[parameterized_name]&.dig(:game_file_city) end