From c8c8f39d3c455c3937055072635e614f3435ddc3 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Thu, 17 Aug 2023 16:13:31 -0400
Subject: [PATCH] Fixed typo in last commit

---
 lib/apex/frame/immutable_path.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/apex/frame/immutable_path.rb b/lib/apex/frame/immutable_path.rb
index 9656db4..fbc1733 100644
--- a/lib/apex/frame/immutable_path.rb
+++ b/lib/apex/frame/immutable_path.rb
@@ -14,7 +14,7 @@ module Apex
       hops.each do |hop|
         raise ArgumentError.new("All arguments must not be nil: #{hops.to_s}") if (hop.nil?)
         raise ArgumentError.new("All arguments must be of type Hop: #{hops.class.to_s}") if not hop.kind_of? Apex::Hop
-        raise ArgumentError.new("A seen hop can not follow an unseen hop: #{{hops.to_s}}") if (hop.seen?) && (!last_seen)
+        raise ArgumentError.new("A seen hop can not follow an unseen hop: #{hops.to_s}") if (hop.seen?) && (!last_seen)
         last_seen = false if not hop.seen?
         @path_array << hop
       end
-- 
GitLab