module Gem::Requirement::CorrectHashForLambdaOperator

Public Instance Methods

hash() click to toggle source
Calls superclass method
# File bundler/rubygems_ext.rb, line 243
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