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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the index of the first object in <em>self</em> such that is <tt>==</tt> to <em>obj</em>. Returns <tt>nil</tt> if no match is found.
- !ruby/struct:SM::Flow::VERB 
  body: "   a = [ &quot;a&quot;, &quot;b&quot;, &quot;c&quot; ]\n   a.index(&quot;b&quot;)   #=&gt; 1\n   a.index(&quot;z&quot;)   #=&gt; nil\n"
full_name: Array#index
is_singleton: false
name: index
params: |
  array.index(obj)   ->  int or nil

visibility: public
