Sha256: 4e8f89d8fea5e0ddf78ce2198281232e1203bdf99d0050e6f4279681ce5267f3

Contents?: true

Size: 473 Bytes

Versions: 7

Compression:

Stored size: 473 Bytes

Contents

require 'forwardable'

module Solve
  class Solver
    class ConstraintRow
      extend Forwardable

      attr_reader :source

      def_delegator :dependency, :name
      def_delegator :dependency, :constraint

      # @param [Solve::Dependency] dependency
      # @param [String, Symbol] source
      def initialize(dependency, source)
        @dependency = dependency
        @source = source
      end

      private

        attr_reader :dependency
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solve-0.8.2 lib/solve/solver/constraint_row.rb
solve-0.8.1 lib/solve/solver/constraint_row.rb
solve-0.8.0 lib/solve/solver/constraint_row.rb
solve-0.7.0 lib/solve/solver/constraint_row.rb
solve-0.6.1 lib/solve/solver/constraint_row.rb
solve-0.6.0 lib/solve/solver/constraint_row.rb
solve-0.5.0 lib/solve/solver/constraint_row.rb