Sha256: 48a808bb32c805627c7a9da66f669176ef01423fb39d507f1cb0d04ad66681ac
Contents?: true
Size: 597 Bytes
Versions: 16
Compression:
Stored size: 597 Bytes
Contents
module ROM # Abstract plugin base # # @private class PluginBase # @return [Module] a module representing the plugin # # @api private attr_reader :mod # @return [Hash] configuration options # # @api private attr_reader :options # @api private def initialize(mod, options) @mod = mod @options = options end # Apply this plugin to the provided class # # @param [Mixed] base # # @api private def apply_to(_base) raise NotImplementedError, "#{self.class}#apply_to not implemented" end end end
Version data entries
16 entries across 16 versions & 1 rubygems