Sha256: 5d44862ca8df20d7b5a71243a0b52828fba027803a2d1d87249e01319e33c7f3

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

require 'rom/plugin_base'

module ROM
  # EnvironmentPlugin is a simple object used to store environment plugin configurations
  #
  # @private
  class EnvironmentPlugin < PluginBase
    # Apply this plugin to the provided environment
    #
    # @param [ROM::Environment] environment
    #
    # @api private
    def apply_to(environment)
      mod.apply(environment)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rom-0.9.0.rc1 lib/rom/environment_plugin.rb
rom-0.9.0.beta1 lib/rom/environment_plugin.rb