class Byebug::MethodCommand

def execute

def execute
  obj = bb_eval(@match.post_match)
  if @match[1]
    puts "#{columnize(obj.methods.sort, Setting[:width])}"
  elsif !obj.is_a?(Module)
    puts "Should be Class/Module: #{@match.post_match}"
  else
    puts "#{columnize(obj.instance_methods(false).sort, Setting[:width])}"
  end
end