# File lib/pry/commands/edit/file_and_line_locator.rb, line 28 def from_filename_argument(filename_argument) f = File.expand_path(filename_argument) l = f.sub!(/:(\d+)$/, "") ? $1.to_i : 1 [f, l] end