Permalink
Browse files

Update website

  • Loading branch information...
1 parent a00b74b commit 151aa5110a7e83efdcd5bee53d99f237fb82a33e @mjackson committed Jan 24, 2015
View

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -36,7 +36,7 @@ <h1 class='name'>
</ol>
<div class='parent'>
Parent:
- <strong><a href="../Object.html">Object</a></strong>
+ <strong>Object</strong>
</div>
</div>
<div id='content'>
@@ -36,7 +36,7 @@ <h1 class='name'>
</ol>
<div class='parent'>
Parent:
- <strong><a href="../Object.html">Object</a></strong>
+ <strong>Object</strong>
</div>
</div>
<div id='content'>
@@ -78,13 +78,13 @@ <h1 class='name'>
<a name='M000074'></a>
<div class='synopsis'>
<span class='name'>new</span>
- <span class='arguments'>(rule='')</span>
+ <span class='arguments'>(rule=&#39;&#39;)</span>
</div>
<div class='source'>
<a class='source-toggle' href='#' onclick="toggleCode('M000074-source'); return false">
[show source]
</a>
- <pre id='M000074-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 968</span>&#x000A;968: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">rule</span>=<span class="ruby-value str">''</span>)&#x000A;969: <span class="ruby-keyword kw">super</span>([<span class="ruby-identifier">rule</span>])&#x000A;970: <span class="ruby-keyword kw">end</span></pre>
+ <pre id='M000074-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1001</span>&#x000A;1001: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">rule</span>=<span class="ruby-value str">&#39;&#39;</span>)&#x000A;1002: <span class="ruby-keyword kw">super</span>([<span class="ruby-identifier">rule</span>])&#x000A;1003: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
<h2>Public instance methods</h2>
@@ -103,7 +103,7 @@ <h1 class='name'>
<a class='source-toggle' href='#' onclick="toggleCode('M000076-source'); return false">
[show source]
</a>
- <pre id='M000076-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 978</span>&#x000A;978: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exec</span>(<span class="ruby-identifier">input</span>, <span class="ruby-identifier">events</span>=[])&#x000A;979: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">input</span>.<span class="ruby-identifier">test</span>(<span class="ruby-identifier">rule</span>)&#x000A;980: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span>&#x000A;981: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">CLOSE</span>&#x000A;982: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">0</span>&#x000A;983: <span class="ruby-keyword kw">end</span>&#x000A;984: &#x000A;985: <span class="ruby-identifier">events</span>&#x000A;986: <span class="ruby-keyword kw">end</span></pre>
+ <pre id='M000076-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1011</span>&#x000A;1011: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exec</span>(<span class="ruby-identifier">input</span>, <span class="ruby-identifier">events</span>=[])&#x000A;1012: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">input</span>.<span class="ruby-identifier">test</span>(<span class="ruby-identifier">rule</span>)&#x000A;1013: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span>&#x000A;1014: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">CLOSE</span>&#x000A;1015: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">0</span>&#x000A;1016: <span class="ruby-keyword kw">end</span>&#x000A;1017: &#x000A;1018: <span class="ruby-identifier">events</span>&#x000A;1019: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
<div class='method public-instance' id='method-M000075'>
@@ -121,7 +121,7 @@ <h1 class='name'>
<a class='source-toggle' href='#' onclick="toggleCode('M000075-source'); return false">
[show source]
</a>
- <pre id='M000075-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 973</span>&#x000A;973: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rule</span>&#x000A;974: <span class="ruby-identifier">rules</span>[<span class="ruby-value">0</span>]&#x000A;975: <span class="ruby-keyword kw">end</span></pre>
+ <pre id='M000075-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1006</span>&#x000A;1006: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rule</span>&#x000A;1007: <span class="ruby-identifier">rules</span>[<span class="ruby-value">0</span>]&#x000A;1008: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
@@ -36,7 +36,7 @@ <h1 class='name'>
</ol>
<div class='parent'>
Parent:
- <strong><a href="../Object.html">Object</a></strong>
+ <strong>Object</strong>
</div>
</div>
<div id='content'>
@@ -90,13 +90,13 @@ <h1 class='name'>
<a name='M000080'></a>
<div class='synopsis'>
<span class='name'>new</span>
- <span class='arguments'>(rule='')</span>
+ <span class='arguments'>(rule=&#39;&#39;)</span>
</div>
<div class='source'>
<a class='source-toggle' href='#' onclick="toggleCode('M000080-source'); return false">
[show source]
</a>
- <pre id='M000080-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1040</span>&#x000A;1040: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">rule</span>=<span class="ruby-value str">''</span>)&#x000A;1041: <span class="ruby-keyword kw">super</span>([<span class="ruby-identifier">rule</span>])&#x000A;1042: <span class="ruby-keyword kw">end</span></pre>
+ <pre id='M000080-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1073</span>&#x000A;1073: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">rule</span>=<span class="ruby-value str">&#39;&#39;</span>)&#x000A;1074: <span class="ruby-keyword kw">super</span>([<span class="ruby-identifier">rule</span>])&#x000A;1075: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
<h2>Public instance methods</h2>
@@ -115,7 +115,7 @@ <h1 class='name'>
<a class='source-toggle' href='#' onclick="toggleCode('M000082-source'); return false">
[show source]
</a>
- <pre id='M000082-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1050</span>&#x000A;1050: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exec</span>(<span class="ruby-identifier">input</span>, <span class="ruby-identifier">events</span>=[])&#x000A;1051: <span class="ruby-identifier">length</span> = <span class="ruby-value">0</span>&#x000A;1052: &#x000A;1053: <span class="ruby-keyword kw">until</span> <span class="ruby-identifier">input</span>.<span class="ruby-identifier">test</span>(<span class="ruby-identifier">rule</span>)&#x000A;1054: <span class="ruby-identifier">len</span> = <span class="ruby-identifier">input</span>.<span class="ruby-identifier">exec</span>(<span class="ruby-constant">DOT_RULE</span>)[<span class="ruby-value">-1</span>]&#x000A;1055: <span class="ruby-keyword kw">break</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">len</span>&#x000A;1056: <span class="ruby-identifier">length</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">len</span>&#x000A;1057: <span class="ruby-keyword kw">end</span>&#x000A;1058: &#x000A;1059: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>&#x000A;1060: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span>&#x000A;1061: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">CLOSE</span>&#x000A;1062: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">length</span>&#x000A;1063: <span class="ruby-keyword kw">end</span>&#x000A;1064: &#x000A;1065: <span class="ruby-identifier">events</span>&#x000A;1066: <span class="ruby-keyword kw">end</span></pre>
+ <pre id='M000082-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1083</span>&#x000A;1083: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exec</span>(<span class="ruby-identifier">input</span>, <span class="ruby-identifier">events</span>=[])&#x000A;1084: <span class="ruby-identifier">length</span> = <span class="ruby-value">0</span>&#x000A;1085: &#x000A;1086: <span class="ruby-keyword kw">until</span> <span class="ruby-identifier">input</span>.<span class="ruby-identifier">test</span>(<span class="ruby-identifier">rule</span>)&#x000A;1087: <span class="ruby-identifier">len</span> = <span class="ruby-identifier">input</span>.<span class="ruby-identifier">exec</span>(<span class="ruby-constant">DOT_RULE</span>)[<span class="ruby-value">-1</span>]&#x000A;1088: <span class="ruby-keyword kw">break</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">len</span>&#x000A;1089: <span class="ruby-identifier">length</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">len</span>&#x000A;1090: <span class="ruby-keyword kw">end</span>&#x000A;1091: &#x000A;1092: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>&#x000A;1093: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span>&#x000A;1094: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">CLOSE</span>&#x000A;1095: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">length</span>&#x000A;1096: <span class="ruby-keyword kw">end</span>&#x000A;1097: &#x000A;1098: <span class="ruby-identifier">events</span>&#x000A;1099: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
<div class='method public-instance' id='method-M000081'>
@@ -133,7 +133,7 @@ <h1 class='name'>
<a class='source-toggle' href='#' onclick="toggleCode('M000081-source'); return false">
[show source]
</a>
- <pre id='M000081-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1045</span>&#x000A;1045: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rule</span>&#x000A;1046: <span class="ruby-identifier">rules</span>[<span class="ruby-value">0</span>]&#x000A;1047: <span class="ruby-keyword kw">end</span></pre>
+ <pre id='M000081-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1078</span>&#x000A;1078: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rule</span>&#x000A;1079: <span class="ruby-identifier">rules</span>[<span class="ruby-value">0</span>]&#x000A;1080: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
@@ -36,7 +36,7 @@ <h1 class='name'>
</ol>
<div class='parent'>
Parent:
- <strong><a href="../Object.html">Object</a></strong>
+ <strong>Object</strong>
</div>
</div>
<div id='content'>
@@ -83,7 +83,7 @@ <h1 class='name'>
<a class='source-toggle' href='#' onclick="toggleCode('M000088-source'); return false">
[show source]
</a>
- <pre id='M000088-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1204</span>&#x000A;1204: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exec</span>(<span class="ruby-identifier">input</span>, <span class="ruby-identifier">events</span>=[])&#x000A;1205: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span>&#x000A;1206: &#x000A;1207: <span class="ruby-identifier">index</span> = <span class="ruby-identifier">events</span>.<span class="ruby-identifier">size</span>&#x000A;1208: <span class="ruby-identifier">n</span> = <span class="ruby-value">0</span>&#x000A;1209: <span class="ruby-identifier">m</span> = <span class="ruby-identifier">rules</span>.<span class="ruby-identifier">length</span>&#x000A;1210: &#x000A;1211: <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">&lt;</span> <span class="ruby-identifier">m</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">input</span>.<span class="ruby-identifier">exec</span>(<span class="ruby-identifier">rules</span>[<span class="ruby-identifier">n</span>], <span class="ruby-identifier">events</span>).<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">index</span>&#x000A;1212: <span class="ruby-identifier">n</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>&#x000A;1213: <span class="ruby-keyword kw">end</span>&#x000A;1214: &#x000A;1215: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">index</span> <span class="ruby-operator">&lt;</span> <span class="ruby-identifier">events</span>.<span class="ruby-identifier">size</span>&#x000A;1216: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">CLOSE</span>&#x000A;1217: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">events</span>[<span class="ruby-value">-2</span>]&#x000A;1218: <span class="ruby-keyword kw">else</span>&#x000A;1219: <span class="ruby-identifier">events</span>.<span class="ruby-identifier">pop</span>&#x000A;1220: <span class="ruby-keyword kw">end</span>&#x000A;1221: &#x000A;1222: <span class="ruby-identifier">events</span>&#x000A;1223: <span class="ruby-keyword kw">end</span></pre>
+ <pre id='M000088-source'> <span class="ruby-comment cmt"># File lib/citrus.rb, line 1237</span>&#x000A;1237: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">exec</span>(<span class="ruby-identifier">input</span>, <span class="ruby-identifier">events</span>=[])&#x000A;1238: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-keyword kw">self</span>&#x000A;1239: &#x000A;1240: <span class="ruby-identifier">index</span> = <span class="ruby-identifier">events</span>.<span class="ruby-identifier">size</span>&#x000A;1241: <span class="ruby-identifier">n</span> = <span class="ruby-value">0</span>&#x000A;1242: <span class="ruby-identifier">m</span> = <span class="ruby-identifier">rules</span>.<span class="ruby-identifier">length</span>&#x000A;1243: &#x000A;1244: <span class="ruby-keyword kw">while</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">&lt;</span> <span class="ruby-identifier">m</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">input</span>.<span class="ruby-identifier">exec</span>(<span class="ruby-identifier">rules</span>[<span class="ruby-identifier">n</span>], <span class="ruby-identifier">events</span>).<span class="ruby-identifier">size</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">index</span>&#x000A;1245: <span class="ruby-identifier">n</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>&#x000A;1246: <span class="ruby-keyword kw">end</span>&#x000A;1247: &#x000A;1248: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">index</span> <span class="ruby-operator">&lt;</span> <span class="ruby-identifier">events</span>.<span class="ruby-identifier">size</span>&#x000A;1249: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">CLOSE</span>&#x000A;1250: <span class="ruby-identifier">events</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">events</span>[<span class="ruby-value">-2</span>]&#x000A;1251: <span class="ruby-keyword kw">else</span>&#x000A;1252: <span class="ruby-identifier">events</span>.<span class="ruby-identifier">pop</span>&#x000A;1253: <span class="ruby-keyword kw">end</span>&#x000A;1254: &#x000A;1255: <span class="ruby-identifier">events</span>&#x000A;1256: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
@@ -36,7 +36,7 @@ <h1 class='name'>
</ol>
<div class='parent'>
Parent:
- <strong>RuntimeError</strong>
+ <strong>StandardError</strong>
</div>
</div>
<div id='content'>
Oops, something went wrong.

0 comments on commit 151aa51

Please sign in to comment.