ruby/lib/rubygems/specification.rb
##
# Return true if there are possible conflicts against the currently loaded specs.
Return true if there are possible conflicts against the currently loaded specs.
Return true if there are possible conflicts against the currently loaded specs .
def has_conflicts?
    return true unless Gem.env_requirement(name).satisfied_by?(version)
    self.dependencies.any? { |dep|
      if dep.runtime? then
        spec = Gem.loaded_specs[dep.name]
        spec and not spec.satisfies_requirement? dep
      else
        false
      end
    }
  end
def has_conflicts? return true unless Gem . env_requirement ( name ) . satisfied_by? ( version ) self . dependencies . any? { | dep | if dep . runtime? then spec = Gem . loaded_specs [ dep . name ] spec and not spec . satisfies_requirement? dep else false end } end
Return true if there are possible conflicts against the currently loaded specs.
Return true if there are possible conflicts against the currently loaded specs .