class Muzak::Plugin::StubPlugin
A no-op plugin that all real plugins inherit from. @abstract Subclass and define any of {Config::PLUGIN_EVENTS}
as methods to implement plugins.
Public Class Methods
available?()
click to toggle source
@return [true] whether or not this plugin is available
# File lib/muzak/plugin/stub_plugin.rb, line 16 def self.available? true end
new()
click to toggle source
# File lib/muzak/plugin/stub_plugin.rb, line 20 def initialize debug "loading #{self.class}" end
plugin_name()
click to toggle source
The plugin's human friendly name. @return [String] the name
# File lib/muzak/plugin/stub_plugin.rb, line 11 def self.plugin_name name.split("::").last.downcase end