From ce5fe05bc51ba466c440072fbaff3140acfc06c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Wed, 26 Aug 2020 17:44:44 +0000 Subject: [PATCH] Use super instead of `self` This will make clear what is the expected behavior of that method call. --- activesupport/lib/active_support/ordered_options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/ordered_options.rb b/activesupport/lib/active_support/ordered_options.rb index 787a619d7a..ba14907d9e 100644 --- a/activesupport/lib/active_support/ordered_options.rb +++ b/activesupport/lib/active_support/ordered_options.rb @@ -64,7 +64,7 @@ module ActiveSupport end def inspect - "#<#{self.class.name} #{self}>" + "#<#{self.class.name} #{super}>" end end