Class: Rexer::Extension::Theme::Update

Inherits:
Action
  • Object
show all
Defined in:
lib/rexer/extension/theme/update.rb

Instance Method Summary collapse

Methods inherited from Action

#initialize

Constructor Details

This class inherits a constructor from Rexer::Extension::Theme::Action

Instance Method Details

#callObject



5
6
7
8
9
10
11
12
13
# File 'lib/rexer/extension/theme/update.rb', line 5

def call
  return unless theme.exist?

  broadcast(:started, "Update #{theme.name}")

  update_source

  broadcast(:completed)
end