From 500cf4f1f25ea59fd45600859cca991246323ef9 Mon Sep 17 00:00:00 2001 From: Dan Kubb Date: Wed, 8 Jun 2011 21:05:28 -0700 Subject: [PATCH] Removed unnecessary #freeze * The attributes passed into #initialize are not used as-is so freezing them makes no difference --- lib/veritas/relation/header.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/veritas/relation/header.rb b/lib/veritas/relation/header.rb index 33109f4f..5792ace9 100644 --- a/lib/veritas/relation/header.rb +++ b/lib/veritas/relation/header.rb @@ -26,7 +26,7 @@ class Header # # @api public def self.new(attributes = []) - attributes = coerce_attributes(attributes).freeze + attributes = coerce_attributes(attributes) assert_unique_attributes(attributes) super end