Class: Weechat::Modifiers::Print::PrintModifierCallback
- Inherits:
-
Callback
- Object
- Callback
- Weechat::Modifiers::Print::PrintModifierCallback
- Defined in:
- lib/weechat/modifier.rb
Instance Method Summary (collapse)
Methods inherited from Callback
Constructor Details
This class inherits a constructor from Weechat::Callback
Instance Method Details
- (Object) call(plugin, buffer, tags, line)
58 59 60 61 62 63 64 65 66 |
# File 'lib/weechat/modifier.rb', line 58 def call(plugin, buffer, , line) begin ret = @callback.call(plugin, buffer, , line) rescue => e Weechat::Utilities.format_exception(e) return line end return ret end |