<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Module: </title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Module</strong></td>
          <td class="class-name-in-header"></td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../files/lib/rbot/core/userdata_rb.html">
                lib/rbot/core/userdata.rb
                </a>
        <br />
                <a href="../files/lib/rbot/core/utils/filters_rb.html">
                lib/rbot/core/utils/filters.rb
                </a>
        <br />
                <a href="../files/lib/rbot/core/utils/utils_rb.html">
                lib/rbot/core/utils/utils.rb
                </a>
        <br />
                <a href="../files/lib/rbot/core/utils/httputil_rb.html">
                lib/rbot/core/utils/httputil.rb
                </a>
        <br />
                <a href="../files/lib/rbot/core/utils/extends_rb.html">
                lib/rbot/core/utils/extends.rb
                </a>
        <br />
                <a href="../files/lib/rbot/core/remote_rb.html">
                lib/rbot/core/remote.rb
                </a>
        <br />
            </td>
        </tr>

        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">

    <div id="description">
      <p>
DottedIndex mixin: extend a Hash or <a href="Array.html">Array</a> class
with this module to achieve [] and []= methods that automatically split
indices at dots (indices are automatically converted to symbols, too)
</p>
<p>
You have to define the single_retrieve(<em>key</em>) and
single_assign(<em>key</em>,<em>value</em>) methods (usually aliased at the
original :[] and :[]= methods)
</p>

    </div>


   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000714">[]</a>&nbsp;&nbsp;
      <a href="#M000715">[]=</a>&nbsp;&nbsp;
      <a href="#M000713">rbot_index_split</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">

    <div id="class-list">
      <h3 class="section-bar">Classes and Modules</h3>

      Module <a href="Utils.html" class="link">::Utils</a><br />
Class <a href="BasicUserMessage.html" class="link">::BasicUserMessage</a><br />
Class <a href="Bot.html" class="link">::Bot</a><br />
Class <a href="HTTPResponse.html" class="link">::HTTPResponse</a><br />
Class <a href="User.html" class="link">::User</a><br />

    </div>




      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000714" class="method-detail">
        <a name="M000714"></a>

        <div class="method-heading">
          <a href=".src/M000714.html" target="Code" class="method-signature"
            onclick="popupCode('.src/M000714.html');return false;">
          <span class="method-name">[]</span><span class="method-args">(*ar)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000715" class="method-detail">
        <a name="M000715"></a>

        <div class="method-heading">
          <a href=".src/M000715.html" target="Code" class="method-signature"
            onclick="popupCode('.src/M000715.html');return false;">
          <span class="method-name">[]=</span><span class="method-args">(*arr)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000713" class="method-detail">
        <a name="M000713"></a>

        <div class="method-heading">
          <a href=".src/M000713.html" target="Code" class="method-signature"
            onclick="popupCode('.src/M000713.html');return false;">
          <span class="method-name">rbot_index_split</span><span class="method-args">(*ar)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>