class Bundler::PubGrub::Assignment

def self.decision(package, version, decision_level, index)

def self.decision(package, version, decision_level, index)
  term = Term.new(VersionConstraint.exact(package, version), true)
  new(term, :decision, decision_level, index)
end

def decision?

def decision?
  cause == :decision
end

def initialize(term, cause, decision_level, index)

def initialize(term, cause, decision_level, index)
  @term = term
  @cause = cause
  @decision_level = decision_level
  @index = index
end