Sha256: e6355b0f90c43832b99208497afbaa0cef18c2942abc9f978e494a90fdf9bf7a
Contents?: true
Size: 1000 Bytes
Versions: 1
Compression:
Stored size: 1000 Bytes
Contents
# frozen_string_literal: true require "rake" module Kanal module Core module Plugins # Base class for plugins that can be registered in the core class Plugin # # Name of the plugin, for it to be available # for finding and getting # # @return [Symbol] <description> # def name raise NotImplementedError end # # This method is for the setting up, it will be executed when plugin # is being added to the core # # @param [Kanal::Core::Core] core <description> # # @return [void] <description> # def setup(core) raise NotImplementedError end # # If plugins does have rake tasks available for execution, # require them here. They will be used # # @return [Array<Rake::TaskLib>] <description> # def rake_tasks [] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kanal-0.3.0 | lib/kanal/core/plugins/plugin.rb |