class Pry::Command::ShowSource

def content_for(code_object)

The source for code_object prepared for display.
def content_for(code_object)
  cannot_locate_source_error if !code_object.source
  Code.new(code_object.source, start_line_for(code_object)).
    with_line_numbers(use_line_numbers?).to_s
end