Class: Agent::Lock::Skill::Result
- Inherits:
-
Data
- Object
- Data
- Agent::Lock::Skill::Result
- Defined in:
- lib/agent/lock/skill.rb
Overview
What #install did, and where.
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#code ⇒ Integer
1 when the install was refused, 0 otherwise.
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path
24 25 26 |
# File 'lib/agent/lock/skill.rb', line 24 def path @path end |
#status ⇒ Object (readonly)
Returns the value of attribute status
24 25 26 |
# File 'lib/agent/lock/skill.rb', line 24 def status @status end |
Instance Method Details
#code ⇒ Integer
Returns 1 when the install was refused, 0 otherwise.
26 |
# File 'lib/agent/lock/skill.rb', line 26 def code = %i[differs linked].include?(status) ? 1 : 0 |