Class: FPM::Fry::Plugin::ScriptHelper::BeforeRemove
- Defined in:
- lib/fpm/fry/plugin/script_helper.rb
Instance Attribute Summary collapse
-
#remove ⇒ Object
readonly
deb: $1 == remove rpm: $1 == 0.
-
#upgrade ⇒ Object
readonly
deb: $1 == upgrade rpm: $1 >= 1.
Attributes inherited from Script
Instance Method Summary collapse
-
#initialize(*_) ⇒ BeforeRemove
constructor
A new instance of BeforeRemove.
Methods inherited from Script
Constructor Details
#initialize(*_) ⇒ BeforeRemove
Returns a new instance of BeforeRemove.
79 80 81 82 83 |
# File 'lib/fpm/fry/plugin/script_helper.rb', line 79 def initialize(*_) super @remove = [] @upgrade = [] end |
Instance Attribute Details
#remove ⇒ Object (readonly)
deb: $1 == remove rpm: $1 == 0
87 88 89 |
# File 'lib/fpm/fry/plugin/script_helper.rb', line 87 def remove @remove end |
#upgrade ⇒ Object (readonly)
deb: $1 == upgrade rpm: $1 >= 1
91 92 93 |
# File 'lib/fpm/fry/plugin/script_helper.rb', line 91 def upgrade @upgrade end |