Class: Weechat::Modifiers::Print
- Inherits:
-
Weechat::Modifier
- Object
- Hook
- Weechat::Modifier
- Weechat::Modifiers::Print
- Defined in:
- lib/weechat/modifier.rb
Defined Under Namespace
Classes: PrintModifierCallback
Instance Attribute Summary
Attributes inherited from Weechat::Modifier
Attributes inherited from Hook
Attributes included from Pointer
Instance Method Summary collapse
-
#initialize(&callback) ⇒ Print
constructor
PrintModifierCallback.
Methods inherited from Weechat::Modifier
Methods inherited from Hook
#call, compute_free_id, find_by_id, #hooked?, hooks, inherited, init, register, #unhook, unhook, unhook_all, unregister
Methods included from Pointer
Constructor Details
#initialize(&callback) ⇒ Print
PrintModifierCallback
39 40 41 42 |
# File 'lib/weechat/modifier.rb', line 39 def initialize(&callback) super("weechat_print", &callback) @callback = PrintModifierCallback.new(callback) end |