# File lib/pry/commands/edit/file_and_line_locator.rb, line 9 def from_code_object(code_object, filename_argument) if File.exists?(code_object.source_file.to_s) [code_object.source_file, code_object.source_line] else raise CommandError, "Cannot find a file for #{filename_argument}!" end end