Class: Rexer::Extension::Theme::Uninstall
- Defined in:
- lib/rexer/extension/theme/uninstall.rb
Instance Method Summary collapse
Methods inherited from Action
Constructor Details
This class inherits a constructor from Rexer::Extension::Theme::Action
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/rexer/extension/theme/uninstall.rb', line 5 def call broadcast(:started, "Uninstall #{theme.name}") unless theme.exist? broadcast(:skipped, "Not exists") return end remove_theme call_uninstalled_hook broadcast(:completed) end |