--- !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 &lt;=&gt;(other)\n    cmp = self.a &lt;=&gt; other.a; return cmp unless cmp == 0\n    cmp = self.b &lt;=&gt; 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
