Sha256: a4dbe36257af0e3d34c2b2d8f814a026c8717a7e0bc6d3b890743d5bb94c040b

Contents?: true

Size: 410 Bytes

Versions: 10

Compression:

Stored size: 410 Bytes

Contents

require 'dry-initializer'

module ROM

  # @api private
  module Initializer

    # @api private
    def self.extended(base)
      base.extend(Dry::Initializer::Mixin)
      base.include(InstanceMethods)
    end

    # @api private
    module InstanceMethods
      # Instance options
      #
      # @return [Hash]
      #
      # @api public
      def options
        @__options__
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rom-3.1.0 lib/rom/initializer.rb
rom-3.0.3 lib/rom/initializer.rb
rom-3.0.2 lib/rom/initializer.rb
rom-3.0.1 lib/rom/initializer.rb
rom-3.0.0 lib/rom/initializer.rb
rom-3.0.0.rc2 lib/rom/initializer.rb
rom-3.0.0.rc1 lib/rom/initializer.rb
rom-3.0.0.beta3 lib/rom/initializer.rb
rom-3.0.0.beta2 lib/rom/initializer.rb
rom-3.0.0.beta1 lib/rom/initializer.rb