--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Comparison---Returns -1 if <em>other_str</em> is less than, 0 if <em>other_str</em> is equal to, and +1 if <em>other_str</em> is greater than <em>str</em>. If the strings are of different lengths, and the strings are equal when compared up to the shortest length, then the longer string is considered greater than the shorter one. If the variable <tt>$=</tt> is <tt>false</tt>, the comparison is based on comparing the binary values of each character in the string. In older versions of Ruby, setting <tt>$=</tt> allowed case-insensitive comparisons; this is now deprecated in favor of using <tt>String#casecmp</tt>.
- !ruby/struct:SM::Flow::P 
  body: <tt>&lt;=&gt;</tt> is the basis for the methods <tt>&lt;</tt>, <tt>&lt;=</tt>, <tt>&gt;</tt>, <tt>&gt;=</tt>, and <tt>between?</tt>, included from module <tt>Comparable</tt>. The method <tt>String#==</tt> does not use <tt>Comparable#==</tt>.
- !ruby/struct:SM::Flow::VERB 
  body: "   &quot;abcdef&quot; &lt;=&gt; &quot;abcde&quot;     #=&gt; 1\n   &quot;abcdef&quot; &lt;=&gt; &quot;abcdef&quot;    #=&gt; 0\n   &quot;abcdef&quot; &lt;=&gt; &quot;abcdefg&quot;   #=&gt; -1\n   &quot;abcdef&quot; &lt;=&gt; &quot;ABCDEF&quot;    #=&gt; 1\n"
full_name: String#<=>
is_singleton: false
name: <=>
params: |
  str <=> other_str   => -1, 0, +1

visibility: public
