Class: MilkTea::PackageLock::CheckResult
- Inherits:
-
Data
- Object
- Data
- MilkTea::PackageLock::CheckResult
- Defined in:
- lib/milk_tea/packages/lock.rb
Instance Attribute Summary collapse
-
#actual_content ⇒ Object
readonly
Returns the value of attribute actual_content.
-
#expected_content ⇒ Object
readonly
Returns the value of attribute expected_content.
-
#lock_path ⇒ Object
readonly
Returns the value of attribute lock_path.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#actual_content ⇒ Object (readonly)
Returns the value of attribute actual_content
12 13 14 |
# File 'lib/milk_tea/packages/lock.rb', line 12 def actual_content @actual_content end |
#expected_content ⇒ Object (readonly)
Returns the value of attribute expected_content
12 13 14 |
# File 'lib/milk_tea/packages/lock.rb', line 12 def expected_content @expected_content end |
#lock_path ⇒ Object (readonly)
Returns the value of attribute lock_path
12 13 14 |
# File 'lib/milk_tea/packages/lock.rb', line 12 def lock_path @lock_path end |
#status ⇒ Object (readonly)
Returns the value of attribute status
12 13 14 |
# File 'lib/milk_tea/packages/lock.rb', line 12 def status @status end |
Instance Method Details
#current? ⇒ Boolean
13 14 15 |
# File 'lib/milk_tea/packages/lock.rb', line 13 def current? status == :current end |
#missing? ⇒ Boolean
17 18 19 |
# File 'lib/milk_tea/packages/lock.rb', line 17 def missing? status == :missing end |
#stale? ⇒ Boolean
21 22 23 |
# File 'lib/milk_tea/packages/lock.rb', line 21 def stale? status == :stale end |