Class: BigWig::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/bigwig/plugin.rb

Direct Known Subclasses

PingPlugin

Class Method Summary collapse

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

.methodObject

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

.registerObject



8
9
10
# File 'lib/bigwig/plugin.rb', line 8

def self.register
  { self.method => self }
end