aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libreadline-java.rb
diff options
context:
space:
mode:
authorJack Nagel2015-04-02 20:22:12 -0400
committerJack Nagel2015-04-02 20:22:12 -0400
commit175a15dae4c78564680a633b73e9fb6159ee31e3 (patch)
tree433a9ab3c9581816173ea1d735c23e1375411d17 /Library/Formula/libreadline-java.rb
parent6d3d9e0af12000c12f216a74118605f44b054ede (diff)
downloadhomebrew-175a15dae4c78564680a633b73e9fb6159ee31e3.tar.bz2
Switch PkgVersion to use composition
Comparing PkgVersion and Version objects can produce nonsensical results. For example, equality is not symmetric: irb(main):002:0> PkgVersion.new("1.0", 0) == Version.new("1.0") => false irb(main):003:0> Version.new("1.0") == PkgVersion.new("1.0", 0) => true Rather than attempt to deal with subclass-superclass equality, let's use composition and punt on the problem altogether.
Diffstat (limited to 'Library/Formula/libreadline-java.rb')
0 files changed, 0 insertions, 0 deletions