Skip to content

Commit

Permalink
Removed unnecessary #freeze
Browse files Browse the repository at this point in the history
* The attributes passed into #initialize are not used as-is so freezing them
  makes no difference
  • Loading branch information
dkubb committed Jun 9, 2011
1 parent d021a38 commit 500cf4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/veritas/relation/header.rb
Expand Up @@ -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
Expand Down

0 comments on commit 500cf4f

Please sign in to comment.