Sha256: 4838b8deee43a234ba0d12ed7166485ac60e714552a94f4c01f0622248ffeaf0
Contents?: true
Size: 198 Bytes
Versions: 3
Compression:
Stored size: 198 Bytes
Contents
# Units use symbols which must be sortable (Fix for Ruby 1.8) unless :test.respond_to? :<=> class Symbol include Comparable def <=>(other) self.to_i <=> other.to_i end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
unit-0.4.1 | lib/unit/compatibility.rb |
unit-0.4.0 | lib/unit/compatibility.rb |
unit-0.3.0 | lib/unit/compatibility.rb |