Module: Gem::Requirement::CorrectHashForLambdaOperator
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Included In:
| |
| Defined in: | lib/bundler/rubygems_ext.rb |
Instance Method Summary
Instance Method Details
#hash
[ GitHub ]# File 'lib/bundler/rubygems_ext.rb', line 225
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