class Byebug::PutLCommand

def execute

def execute
  out = StringIO.new
  run_with_binding do |b|
    vals = debug_eval(@match.post_match, b)
    if vals.is_a?(Array)
      vals = vals.map{|item| item.to_s}
      print "#{columnize(vals, self.class.settings[:width])}\n"
    else
      PP.pp(vals, out)
      print out.string
    end
  end
rescue
  out.puts $!.message
end

def help(cmd)

def help(cmd)
  %{
   putl expression\tevaluate expression, an array, and columnize its value
   }
end

def help_command

def help_command
  'putl'
end

def regexp

def regexp
  /^\s*putl\s+/
end