Sha256: 6d93e3ec84b4e072594e6db9e739b962b085af4d40a0a68496b40c9890e04d1e

Contents?: true

Size: 555 Bytes

Versions: 5

Compression:

Stored size: 555 Bytes

Contents

module Solve
  class Solver
    # @author Andrew Garson <andrew.garson@gmail.com>
    # @author Jamie Winsor <jamie@vialstudios.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

5 entries across 5 versions & 1 rubygems

Version Path
solve-0.4.2 lib/solve/solver/constraint_row.rb
solve-0.4.1 lib/solve/solver/constraint_row.rb
solve-0.4.0 lib/solve/solver/constraint_row.rb
solve-0.4.0.rc1 lib/solve/solver/constraint_row.rb
solve-0.3.1 lib/solve/solver/constraint_row.rb