Class: Copilot::SkillsLoadDiagnostics
- Inherits:
-
Struct
- Object
- Struct
- Copilot::SkillsLoadDiagnostics
- Defined in:
- lib/copilot/types.rb
Overview
Experimental Diagnostics from loading skills.
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Class Method Summary collapse
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors
798 799 800 |
# File 'lib/copilot/types.rb', line 798 def errors @errors end |
#warnings ⇒ Object
Returns the value of attribute warnings
798 799 800 |
# File 'lib/copilot/types.rb', line 798 def warnings @warnings end |
Class Method Details
.from_hash(h) ⇒ Object
799 800 801 802 803 804 |
# File 'lib/copilot/types.rb', line 799 def self.from_hash(h) new( errors: h["errors"] || [], warnings: h["warnings"] || [] ) end |