lib/assertion/guard.rb in assertion-0.2.1 vs lib/assertion/guard.rb in assertion-0.2.2
- old
+ new
@@ -44,10 +44,10 @@
# @return [Assertion::Guard]
# @private
def initialize(object)
@object = object
- freeze
+ IceNine.deep_freeze(self)
end
# Validates the state of the [#object] and returns valid object back
#
# @return (see #object)