Class: VivlioStarter::CLI::UpgradeCommands::PlanItem
- Inherits:
-
Data
- Object
- Data
- VivlioStarter::CLI::UpgradeCommands::PlanItem
- Defined in:
- lib/vivlio_starter/cli/upgrade.rb
Overview
計画表の 1 行。status: :add / :add_empty / :update / :merge / :conflict / :keep
merged … :merge のときだけ入る、3-way マージ後の中身 overlapping … :conflict のうち「祖先が取れたうえで衝突した」=双方が 本当に同じ場所を変えたもの。適用すれば著者の変更が消えるので、 そう名指しできる(祖先が取れなかった競合では断定できない)
Instance Attribute Summary collapse
-
#merged ⇒ Object
readonly
Returns the value of attribute merged.
-
#overlapping ⇒ Object
readonly
Returns the value of attribute overlapping.
-
#relative ⇒ Object
readonly
Returns the value of attribute relative.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(merged: nil, overlapping: false) ⇒ PlanItem
constructor
A new instance of PlanItem.
Constructor Details
#initialize(merged: nil, overlapping: false) ⇒ PlanItem
Returns a new instance of PlanItem.
56 |
# File 'lib/vivlio_starter/cli/upgrade.rb', line 56 def initialize(merged: nil, overlapping: false, **) = super |
Instance Attribute Details
#merged ⇒ Object (readonly)
Returns the value of attribute merged
55 56 57 |
# File 'lib/vivlio_starter/cli/upgrade.rb', line 55 def merged @merged end |
#overlapping ⇒ Object (readonly)
Returns the value of attribute overlapping
55 56 57 |
# File 'lib/vivlio_starter/cli/upgrade.rb', line 55 def overlapping @overlapping end |
#relative ⇒ Object (readonly)
Returns the value of attribute relative
55 56 57 |
# File 'lib/vivlio_starter/cli/upgrade.rb', line 55 def relative @relative end |
#status ⇒ Object (readonly)
Returns the value of attribute status
55 56 57 |
# File 'lib/vivlio_starter/cli/upgrade.rb', line 55 def status @status end |