class Pry::Command::Edit

def file_based_exception?

def file_based_exception?
  opts.present?(:ex) && !opts.present?(:patch)
end