Class: FassetsCore::Plugins

Inherits:
Object
  • Object
show all
Defined in:
lib/fassets_core/plugins.rb

Class Method Summary collapse

Class Method Details

.allObject



7
8
9
# File 'lib/fassets_core/plugins.rb', line 7

def self.all
  @@my_plugins
end

.register(plugin) ⇒ Object



3
4
5
# File 'lib/fassets_core/plugins.rb', line 3

def self.register plugin
  @@my_plugins << plugin
end