Module: Pluginator

Defined in:
lib/pluginator.rb,
lib/pluginator/group.rb,
lib/pluginator/errors.rb,
lib/pluginator/version.rb,
lib/pluginator/autodetect.rb,
lib/pluginator/name_converter.rb,
lib/pluginator/extendable_autodetect.rb

Overview

Copyright 2013 Michal Papis <[email protected]>

This file is part of pluginator.

pluginator is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

pluginator is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with pluginator. If not, see <www.gnu.org/licenses/>.

Defined Under Namespace

Modules: Extensions, NameConverter Classes: Autodetect, ExtendableAutodetect, Group, MissingPlugin, MissingType, PluginatorError

Constant Summary collapse

VERSION =

Version of Pluginator

"1.3.0"

Class Method Summary collapse

Class Method Details

.find(group, options = {}) ⇒ Pluginator::ExtendableAutodetect

Find plugins for the given group

Parameters:

  • group (String)

    name of plugins group

  • options (Hash) (defaults to: {})

    options to pass to creating Pluginator instance

  • type (Hash)

    a customizable set of options

  • extend (Hash)

    a customizable set of options

Returns:



32
33
34
# File 'lib/pluginator.rb', line 32

def self.find(group, options = {})
  Pluginator::ExtendableAutodetect.new(group, options)
end