Class: Capacitor::Lynx::PluginInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/capacitor/lynx/autolink.rb

Overview

package_dir is the path as found under node_modules and is what lands in the Podfile. resolved_dir follows symlinks and is used only for identity: under pnpm the real path embeds the version and a dependency hash, so declaring it would rewrite Podfile.lock on every version bump.

Instance Attribute Summary collapse

Instance Attribute Details

#npm_nameObject

Returns the value of attribute npm_name

Returns:

  • (Object)

    the current value of npm_name



23
24
25
# File 'lib/capacitor/lynx/autolink.rb', line 23

def npm_name
  @npm_name
end

#package_dirObject

Returns the value of attribute package_dir

Returns:

  • (Object)

    the current value of package_dir



23
24
25
# File 'lib/capacitor/lynx/autolink.rb', line 23

def package_dir
  @package_dir
end

#pod_nameObject

Returns the value of attribute pod_name

Returns:

  • (Object)

    the current value of pod_name



23
24
25
# File 'lib/capacitor/lynx/autolink.rb', line 23

def pod_name
  @pod_name
end

#podspec_pathObject

Returns the value of attribute podspec_path

Returns:

  • (Object)

    the current value of podspec_path



23
24
25
# File 'lib/capacitor/lynx/autolink.rb', line 23

def podspec_path
  @podspec_path
end

#resolved_dirObject

Returns the value of attribute resolved_dir

Returns:

  • (Object)

    the current value of resolved_dir



23
24
25
# File 'lib/capacitor/lynx/autolink.rb', line 23

def resolved_dir
  @resolved_dir
end