Sha256: c7d4f214cdf367f238c8c4f72ec3f88cf901ab33f4458718f6ab1fee6a67fea2

Contents?: true

Size: 551 Bytes

Versions: 2

Compression:

Stored size: 551 Bytes

Contents

module Solve
  class Solver
    # @author Andrew Garson <agarson@riotgames.com>
    # @author Jamie Winsor <reset@riotgames.com>
    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

2 entries across 2 versions & 1 rubygems

Version Path
solve-0.4.4 lib/solve/solver/constraint_row.rb
solve-0.4.3 lib/solve/solver/constraint_row.rb