Method: Pod::Specification#defined_in_file

Defined in:
lib/cocoapods-core/specification.rb

#defined_in_fileString

Returns the path where the specification is defined, if loaded from a file.

Returns:

  • (String)

    the path where the specification is defined, if loaded from a file.



703
704
705
# File 'lib/cocoapods-core/specification.rb', line 703

def defined_in_file
  root? ? @defined_in_file : root.defined_in_file
end