Class: Cherrypicker::PluginBase

Inherits:
Object
  • Object
show all
Defined in:
lib/cherrypicker/helpers.rb

Direct Known Subclasses

Googlevideo, Hotfile, Megavideo, Rapidshare, Rghost, Vimeo, Youtube

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.registered_pluginsObject (readonly)

Returns the value of attribute registered_plugins.



16
17
18
# File 'lib/cherrypicker/helpers.rb', line 16

def registered_plugins
  @registered_plugins
end

Class Method Details

.inherited(child) ⇒ Object



19
20
21
# File 'lib/cherrypicker/helpers.rb', line 19

def self.inherited(child)
  PluginBase.registered_plugins << child
end