lib/byebug/commands/method.rb in byebug-8.1.0 vs lib/byebug/commands/method.rb in byebug-8.2.0

- old
+ new

@@ -31,10 +31,10 @@ def self.short_description 'Shows methods of an object, class or module' end def execute - obj = single_thread_eval(@match.post_match) + obj = warning_eval(@match.post_match) result = if @match[1] prc('method.methods', obj.methods.sort) { |item, _| { name: item } } elsif !obj.is_a?(Module)