Method: YARD::Parser::SourceParser#contents

Defined in:
lib/yard/parser/source_parser.rb

#contentsString (readonly)

Returns the contents of the file to be parsed.

Returns:

  • (String)

    the contents of the file to be parsed

Since:

  • 0.7.0


397
398
399
# File 'lib/yard/parser/source_parser.rb', line 397

def contents
  @contents
end