module Pluginator
A simple plugin system based on Gem.find_files
Copyright 2017 Michal Papis <mpapis@gmail.com>
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/>.
Copyright 2013-2017 Michal Papis <mpapis@gmail.com>
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/>.
Copyright 2013 Michal Papis <mpapis@gmail.com>
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/>.
Copyright 2013-2017 Michal Papis <mpapis@gmail.com>
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/>.
Copyright 2013-2017 Michal Papis <mpapis@gmail.com>
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/>.
Constants
- VERSION
Version of
Pluginator
Public Class Methods
Find plugins for the given group
@param group [String] name of plugins group @param options [Hash] options to pass to creating Pluginator
instance @option type [String] name of type to load @option prefix [String] a prefix for finding plugins if forcing,
by default only `/lib` is checked, regexp notation is allowed, for example `/(lib|local_lib)`
@option extend [Array<Symbol>|Symbol] list of extension to extend into pluginator instance @return [Pluginator::ExtendableAutodetect] instance of Pluginator
# File lib/pluginator.rb, line 36 def self.find(group, options={}) Pluginator::ExtendableAutodetect.new(group, options) end