Sha256: 579d1b5d72b9760d7051f6ac9bfd478542c1d7fc3ababaca62dd929e6e14347f
Contents?: true
Size: 596 Bytes
Versions: 4
Compression:
Stored size: 596 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rom-0.9.1 | lib/rom/plugin_base.rb |
rom-0.9.0 | lib/rom/plugin_base.rb |
rom-0.9.0.rc1 | lib/rom/plugin_base.rb |
rom-0.9.0.beta1 | lib/rom/plugin_base.rb |