In Files

  • bundler/rubygems_ext.rb

Methods

Class/Module Index [+]

Quicksearch

Gem::Requirement::CorrectHashForLambdaOperator

Public Instance Methods

hash() click to toggle source
 
               # File bundler/rubygems_ext.rb, line 164
def hash
  if requirements.any? {|r| r.first == "~>" }
    requirements.map {|r| r.first == "~>" ? [r[0], r[1].to_s] : r }.sort.hash
  else
    super
  end
end