Class: PluginDecorator
- Inherits:
-
Draper::Decorator
- Object
- Draper::Decorator
- PluginDecorator
- Defined in:
- app/decorators/plugin_decorator.rb
Instance Method Summary collapse
Instance Method Details
#status ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'app/decorators/plugin_decorator.rb', line 4 def status if processing? I18n.t("terms.processing") elsif installed? I18n.t("terms.installed") else I18n.t("terms.not_installed") end end |