Sha256: d2d9fda12ae2ad62b2a2f0dfaf48c03e0390fc4abc57fae8f125731196c4d0d1
Contents?: true
Size: 650 Bytes
Versions: 2
Compression:
Stored size: 650 Bytes
Contents
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Automatically generate sorting defintions base on attribute fields. - !ruby/struct:SM::Flow::VERB body: " include SortOn(:a, :b)\n" - !ruby/struct:SM::Flow::P body: "is equivalent to including a module containing:" - !ruby/struct:SM::Flow::VERB body: " def <=>(other)\n cmp = self.a <=> other.a; return cmp unless cmp == 0\n cmp = self.b <=> other.b; return cmp unless cmp == 0\n 0\n end\n" full_name: Module#Comparable is_singleton: false name: Comparable params: (*accessors) visibility: public
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.2 | doc/ri/Module/Comparable-i.yaml |
facets-2.4.3 | doc/ri/Module/Comparable-i.yaml |