Only reset the _init on testing cleanup

This commit is contained in:
Chris Roberts 2018-07-30 14:44:36 -07:00
parent cd7215ab13
commit dcfb84893d
1 changed files with 2 additions and 2 deletions

View File

@ -56,10 +56,10 @@ EOF
end
# @private
# Reset the cached values. This is not considered a public
# Reset the cached init value. This is not considered a public
# API and should only be used for testing.
def self.reset!
instance_variables.each(&method(:remove_instance_variable))
send(:remove_instance_variable, :@_init)
end
end
end