Method: YARD::Handlers::Base#register_file_info

Defined in:
lib/yard/handlers/base.rb

#register_file_info(object, file = parser.file, line = statement.line, comments = statement.comments) ⇒ void

This method returns an undefined value.

Registers the file/line of the declaration with the object

Parameters:

Since:

  • 0.8.0



441
442
443
# File 'lib/yard/handlers/base.rb', line 441

def register_file_info(object, file = parser.file, line = statement.line, comments = statement.comments)
  object.add_file(file, line, comments)
end