Class: Smartdict::Plugin

Inherits:
Object
  • Object
show all
Extended by:
ActiveSupport::Autoload
Defined in:
lib/smartdict/plugin.rb

Defined Under Namespace

Classes: InitializerContext

Class Method Summary collapse

Class Method Details

.initializer(name, options = {}, &block) ⇒ Object



6
7
8
# File 'lib/smartdict/plugin.rb', line 6

def self.initializer(name, options = {}, &block)
  Smartdict::Core::PluginManager.register(name, :options => options, :block => block)
end