Method: YARD::CodeObjects::Base#file
- Defined in:
- lib/yard/code_objects/base.rb
permalink #file ⇒ String?
Returns the filename the object was first parsed at, taking definitions with docstrings first.
307 308 309 |
# File 'lib/yard/code_objects/base.rb', line 307 def file @files.first ? @files.first[0] : nil end |