Class: Rexer::Commands::Uninstall
- Inherits:
-
Object
- Object
- Rexer::Commands::Uninstall
- Includes:
- ActionCallable
- Defined in:
- lib/rexer/commands/uninstall.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize ⇒ Uninstall
constructor
A new instance of Uninstall.
Methods included from ActionCallable
Constructor Details
#initialize ⇒ Uninstall
Returns a new instance of Uninstall.
6 7 8 |
# File 'lib/rexer/commands/uninstall.rb', line 6 def initialize @lock_definition = Definition::Lock.load_data end |
Instance Method Details
#call ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/rexer/commands/uninstall.rb', line 10 def call return if no_lock_file_found uninstall_themes uninstall_plugins delete_lock_file end |