Method: Pod::Command::Spec#pathname_from_spec

Defined in:
lib/cocoapods/command/spec.rb

#pathname_from_spec(spec, _source) ⇒ Pathname (private)

Returns the absolute path of the given spec and source.

Returns:

  • (Pathname)

    the absolute path of the given spec and source



67
68
69
# File 'lib/cocoapods/command/spec.rb', line 67

def pathname_from_spec(spec, _source)
  Pathname(spec.defined_in_file)
end