1 <?xml version="1.0" encoding="iso-8859-1"?>
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8 <title>Class: Move</title>
9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10 <meta http-equiv="Content-Script-Type" content="text/javascript" />
11 <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12 <script type="text/javascript">
15 function popupCode( url ) {
16 window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
19 function toggleCode( id ) {
20 if ( document.getElementById )
21 elem = document.getElementById( id );
22 else if ( document.all )
23 elem = eval( "document.all." + id );
27 elemStyle = elem.style;
29 if ( elemStyle.display != "block" ) {
30 elemStyle.display = "block"
32 elemStyle.display = "none"
38 // Make codeblocks hidden by default
39 document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
49 <div id="classHeader">
50 <table class="header-table">
51 <tr class="top-aligned-row">
52 <td><strong>Class</strong></td>
53 <td class="class-name-in-header">Move</td>
55 <tr class="top-aligned-row">
56 <td><strong>In:</strong></td>
58 <a href="../files/lib/libttc_rb.html">
65 <tr class="top-aligned-row">
66 <td><strong>Parent:</strong></td>
73 <!-- banner header -->
75 <div id="bodyContent">
79 <div id="contextContent">
81 <div id="description">
91 <div id="method-list">
92 <h3 class="section-bar">Methods</h3>
94 <div class="name-list">
95 <a href="#M000032">new</a>
96 <a href="#M000034">to_s</a>
97 <a href="#M000035">to_str</a>
98 <a href="#M000033">via_base?</a>
113 <div id="attribute-list">
114 <h3 class="section-bar">Attributes</h3>
116 <div class="name-list">
118 <tr class="top-aligned-row context-row">
119 <td class="context-item-name">destination</td>
120 <td class="context-item-value"> [R] </td>
121 <td class="context-item-desc"></td>
123 <tr class="top-aligned-row context-row">
124 <td class="context-item-name">piece</td>
125 <td class="context-item-value"> [R] </td>
126 <td class="context-item-desc"></td>
134 <!-- if method_list -->
136 <h3 class="section-bar">Public Class methods</h3>
138 <div id="method-M000032" class="method-detail">
139 <a name="M000032"></a>
141 <div class="method-heading">
142 <a href="Move.src/M000032.html" target="Code" class="method-signature"
143 onclick="popupCode('Move.src/M000032.html');return false;">
144 <span class="method-name">new</span><span class="method-args">(piece, destination, via_base = false)</span>
148 <div class="method-description">
152 <h3 class="section-bar">Public Instance methods</h3>
154 <div id="method-M000034" class="method-detail">
155 <a name="M000034"></a>
157 <div class="method-heading">
158 <a href="Move.src/M000034.html" target="Code" class="method-signature"
159 onclick="popupCode('Move.src/M000034.html');return false;">
160 <span class="method-name">to_s</span><span class="method-args">()</span>
164 <div class="method-description">
166 Write a move to a string Note the inverse, <a
167 href="String.html#M000053">String#to_move</a>, is defined below
172 <div id="method-M000035" class="method-detail">
173 <a name="M000035"></a>
175 <div class="method-heading">
176 <a href="Move.src/M000035.html" target="Code" class="method-signature"
177 onclick="popupCode('Move.src/M000035.html');return false;">
178 <span class="method-name">to_str</span><span class="method-args">()</span>
182 <div class="method-description">
186 <div id="method-M000033" class="method-detail">
187 <a name="M000033"></a>
189 <div class="method-heading">
190 <a href="Move.src/M000033.html" target="Code" class="method-signature"
191 onclick="popupCode('Move.src/M000033.html');return false;">
192 <span class="method-name">via_base?</span><span class="method-args">()</span>
196 <div class="method-description">
207 <div id="validator-badges">
208 <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>