Class: BigWig::Plugin
- Inherits:
-
Object
- Object
- BigWig::Plugin
- Defined in:
- lib/bigwig/plugin.rb
Direct Known Subclasses
Class Method Summary collapse
- .call(task_id, args) ⇒ Object
-
.method ⇒ Object
Each plugin should override Plugin::method and return the name of the command that.
- .register ⇒ Object
Class Method Details
.call(task_id, args) ⇒ Object
12 13 14 |
# File 'lib/bigwig/plugin.rb', line 12 def self.call(task_id, args) BigWig.logger.warn "NotImplemented: Called #{self} with #{args} for task #{task_id}" end |
.method ⇒ Object
Each plugin should override Plugin::method and return the name of the command that
4 5 6 |
# File 'lib/bigwig/plugin.rb', line 4 def self.method raise "Plugins must override Plugin::method" end |
.register ⇒ Object
8 9 10 |
# File 'lib/bigwig/plugin.rb', line 8 def self.register { self.method => self } end |