Method: YARD::Parser::SourceParser#file

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

#fileString

Returns the filename being parsed by the parser.

Returns:

  • (String)

    the filename being parsed by the parser.


384
385
386
# File 'lib/yard/parser/source_parser.rb', line 384

def file
  @file
end