# File cli/ruby-debug/commands/method.rb, line 48
    def execute
      if @match[1] == "iv"
        obj = debug_eval(@match.post_match)
        obj.instance_variables.sort.each do |v|
          print "%s = %s\n", v, obj.instance_variable_get(v).inspect
        end
      elsif @match[1]
        obj = debug_eval(@match.post_match)
        print "%s\n", columnize(obj.methods.sort(), 
                                self.class.settings[:width])
      else
        obj = debug_eval(@match.post_match)
        unless obj.kind_of? Module
          print "Should be Class/Module: %s\n", @match.post_match
        else
          print "%s\n", columnize(obj.instance_methods(false).sort(), 
                                  self.class.settings[:width])
        end
      end
    end