class Pry::Command::Cat::FileFormatter

def file_and_line

def file_and_line
  file_name, line_num = file_with_embedded_line.split(%r{:(?!/|\\)})
  [file_name, line_num ? line_num.to_i : nil]
end