Class: Duplicati::Notification::Base
- Inherits:
-
Object
- Object
- Duplicati::Notification::Base
- Defined in:
- lib/duplicati/notification/base.rb
Instance Method Summary collapse
Instance Method Details
#load_gem(name) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/duplicati/notification/base.rb', line 4 def load_gem(name) require name true rescue LoadError Kernel.warn "#{name} gem is not installed, which is needed for #{self.class.name}!" false end |