class Pry::WrappedModule::Candidate
def source
-
(String)
- The source for the candidate, i.e the
Raises:
-
(Pry::CommandError)
- If source code cannot be found.
def source return nil if file.nil? return @source if @source @source = strip_leading_whitespace(Pry::Code.from_file(file).expression_at(line, number_of_lines_in_first_chunk)) end