method

build_message

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: ImpossibleDependenciesError
build_message() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/exceptions.rb, line 136
  def build_message # :nodoc:
    requester  = @request.requester
    requester  = requester ? requester.spec.full_name : 'The user'
    dependency = @request.dependency

    message = "#{requester} requires #{dependency} but it conflicted:\n".dup

    @conflicts.each do |_, conflict|
      message << conflict.explanation
    end

    message
  end
Register or log in to add new notes.