Class: RubySkills::Resolver::ResolvedSkill

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_skills/resolver.rb

Overview

Skill directory ready to be installed.

Since:

  • 0.1.0

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Returns skill identifier.

Returns:

  • (String)

    skill identifier



29
30
31
32
33
34
# File 'lib/ruby_skills/resolver.rb', line 29

ResolvedSkill = Struct.new(
  :name,
  :path,
  :source,
  keyword_init: true
)

#pathPathname

Returns local directory containing the skill.

Returns:

  • (Pathname)

    local directory containing the skill



29
30
31
32
33
34
# File 'lib/ruby_skills/resolver.rb', line 29

ResolvedSkill = Struct.new(
  :name,
  :path,
  :source,
  keyword_init: true
)

#sourceString

Returns origin used to resolve the skill.

Returns:

  • (String)

    origin used to resolve the skill



29
30
31
32
33
34
# File 'lib/ruby_skills/resolver.rb', line 29

ResolvedSkill = Struct.new(
  :name,
  :path,
  :source,
  keyword_init: true
)