Class: Terradactyl::Terraform::Commands::Upgrade
- Inherits:
-
Base
- Object
- Base
- Terradactyl::Terraform::Commands::Upgrade
- Defined in:
- lib/terradactyl/commands.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
23 24 25 26 27 28 |
# File 'lib/terradactyl/commands.rb', line 23 def execute VersionManager.install return 0 unless revision.upgradeable? super end |
#next_version ⇒ Object
30 31 32 |
# File 'lib/terradactyl/commands.rb', line 30 def next_version @next_version ||= compute_upgrade end |