Class: Kozo::Upgrade
- Inherits:
-
Object
- Object
- Kozo::Upgrade
- Defined in:
- lib/kozo/upgrade.rb,
lib/kozo/upgrade/1_initial.rb,
lib/kozo/upgrade/2_remove_kozo_version.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Initial, RemoveKozoVersion
Instance Attribute Summary collapse
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(state) ⇒ Upgrade
constructor
A new instance of Upgrade.
- #upgrade ⇒ Object
Constructor Details
#initialize(state) ⇒ Upgrade
Returns a new instance of Upgrade.
7 8 9 |
# File 'lib/kozo/upgrade.rb', line 7 def initialize(state) @state = state end |
Instance Attribute Details
#state ⇒ Object (readonly)
Returns the value of attribute state.
5 6 7 |
# File 'lib/kozo/upgrade.rb', line 5 def state @state end |
Instance Method Details
#upgrade ⇒ Object
11 12 13 |
# File 'lib/kozo/upgrade.rb', line 11 def upgrade raise NotImplementedError end |