Skip to content

Commit 11a21f1

Browse files
committed
Freeze OPTION_NOT_GIVEN
1 parent c11312a commit 11a21f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activemodel/lib/active_model/attribute_mutation_tracker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
module ActiveModel
77
class AttributeMutationTracker # :nodoc:
8-
OPTION_NOT_GIVEN = Object.new
8+
OPTION_NOT_GIVEN = Object.new.freeze
99

1010
def initialize(attributes)
1111
@attributes = attributes

0 commit comments

Comments
 (0)