summaryrefslogtreecommitdiff
path: root/lib/pry/core_extensions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pry/core_extensions.rb')
-rw-r--r--lib/pry/core_extensions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/core_extensions.rb b/lib/pry/core_extensions.rb
index ffe1d221..6800b0e5 100644
--- a/lib/pry/core_extensions.rb
+++ b/lib/pry/core_extensions.rb
@@ -39,7 +39,7 @@ class Object
# my_method()
# @see Pry.start
def pry(object = nil, hash = {})
- if object.nil? || Hash === object
+ if object.nil? || Hash === object # rubocop:disable Style/CaseEquality
Pry.start(self, object || {})
else
Pry.start(object, hash)