Sha256: 1c503fb9e656249561d0f929213aee9e41047795ce3462ac6caf92ffc6837d88

Contents?: true

Size: 327 Bytes

Versions: 20

Compression:

Stored size: 327 Bytes

Contents

require 'rom/plugin_base'

module ROM
  # Plugin is a simple object used to store plugin configurations
  #
  # @private
  class Plugin < PluginBase
    # Apply this plugin to the provided class
    #
    # @param [Class] klass
    #
    # @api private
    def apply_to(klass)
      klass.send(:include, mod)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rom-3.0.3 lib/rom/plugin.rb
rom-3.0.2 lib/rom/plugin.rb
rom-3.0.1 lib/rom/plugin.rb
rom-3.0.0 lib/rom/plugin.rb
rom-3.0.0.rc2 lib/rom/plugin.rb
rom-3.0.0.rc1 lib/rom/plugin.rb
rom-3.0.0.beta3 lib/rom/plugin.rb
rom-3.0.0.beta2 lib/rom/plugin.rb
rom-3.0.0.beta1 lib/rom/plugin.rb
rom-2.0.2 lib/rom/plugin.rb
rom-2.0.1 lib/rom/plugin.rb
rom-2.0.0 lib/rom/plugin.rb
rom-1.0.0 lib/rom/plugin.rb
rom-1.0.0.rc1 lib/rom/plugin.rb
rom-1.0.0.beta2 lib/rom/plugin.rb
rom-1.0.0.beta1 lib/rom/plugin.rb
rom-0.9.1 lib/rom/plugin.rb
rom-0.9.0 lib/rom/plugin.rb
rom-0.9.0.rc1 lib/rom/plugin.rb
rom-0.9.0.beta1 lib/rom/plugin.rb