Class: RubySkills::Manifest::Skill
- Inherits:
-
Struct
- Object
- Struct
- RubySkills::Manifest::Skill
- Defined in:
- lib/ruby_skills/manifest.rb
Overview
Declared skill entry loaded from a Skillfile.
Instance Attribute Summary collapse
-
#github ⇒ String?
GitHub repository in
owner/nameform. -
#name ⇒ String
Skill identifier.
-
#path ⇒ String?
Local filesystem path to the skill.
-
#version ⇒ String?
Optional pinned version.
Instance Attribute Details
#github ⇒ String?
Returns GitHub repository in owner/name form.
25 26 27 28 29 30 31 |
# File 'lib/ruby_skills/manifest.rb', line 25 Skill = Struct.new( :name, :github, :path, :version, keyword_init: true ) |
#name ⇒ String
Returns skill identifier.
25 26 27 28 29 30 31 |
# File 'lib/ruby_skills/manifest.rb', line 25 Skill = Struct.new( :name, :github, :path, :version, keyword_init: true ) |
#path ⇒ String?
Returns local filesystem path to the skill.
25 26 27 28 29 30 31 |
# File 'lib/ruby_skills/manifest.rb', line 25 Skill = Struct.new( :name, :github, :path, :version, keyword_init: true ) |
#version ⇒ String?
Returns optional pinned version.
25 26 27 28 29 30 31 |
# File 'lib/ruby_skills/manifest.rb', line 25 Skill = Struct.new( :name, :github, :path, :version, keyword_init: true ) |