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: String
</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">String
</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">
83 Extension to
<a href=
"String.html">String
</a> class to convert a
84 move-description string into a
<a href=
"Move.html">Move
</a> object. This is
85 the inverse of the
<a href=
"Move.html#M000034">Move#to_s
</a> method
93 <div id=
"method-list">
94 <h3 class=
"section-bar">Methods
</h3>
96 <div class=
"name-list">
97 <a href=
"#M000053">to_move
</a>
115 <!-- if method_list -->
117 <h3 class=
"section-bar">Public Instance methods
</h3>
119 <div id=
"method-M000053" class=
"method-detail">
120 <a name=
"M000053"></a>
122 <div class=
"method-heading">
123 <a href=
"String.src/M000053.html" target=
"Code" class=
"method-signature"
124 onclick=
"popupCode('String.src/M000053.html');return false;">
125 <span class=
"method-name">to_move
</span><span class=
"method-args">(game)
</span>
129 <div class=
"method-description">
140 <div id=
"validator-badges">
141 <p><small><a href=
"http://validator.w3.org/check/referer">[Validate]
</a></small></p>