Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update rdoc

  • Loading branch information...
commit c85ff4fc068890f973ee6ccc3c090efa21945286 1 parent cea6367
@mneumann authored
Showing with 9,305 additions and 5,695 deletions.
  1. +26 −22 doc/rdoc/classes/Array.html
  2. +26 −22 doc/rdoc/classes/Hash.html
  3. +26 −21 doc/rdoc/classes/Object.html
  4. +87 −19 doc/rdoc/classes/String.html
  5. +26 −22 doc/rdoc/classes/Struct.html
  6. +238 −79 doc/rdoc/classes/Wee.html
  7. +85 −40 doc/rdoc/classes/Wee/AnswerDecoration.html
  8. +46 −28 doc/rdoc/classes/Wee/AnswerDecoration/Answer.html
  9. +114 −63 doc/rdoc/classes/Wee/Application.html
  10. +44 −30 doc/rdoc/classes/Wee/Application/SessionCache.html
  11. +101 −52 doc/rdoc/classes/Wee/Brush.html
  12. +79 −30 doc/rdoc/classes/Wee/Brush/ActionInputTag.html
  13. +111 −64 doc/rdoc/classes/Wee/Brush/AnchorTag.html
  14. +119 −30 doc/rdoc/classes/Wee/Brush/CheckboxTag.html
  15. +51 −28 doc/rdoc/classes/Wee/Brush/FileUploadTag.html
  16. +155 −54 doc/rdoc/classes/Wee/Brush/FormTag.html
  17. +42 −30 doc/rdoc/classes/Wee/Brush/GenericEncodedTextBrush.html
  18. +60 −39 doc/rdoc/classes/Wee/Brush/GenericSingleTagBrush.html
  19. +255 −153 doc/rdoc/classes/Wee/Brush/GenericTagBrush.html
  20. +63 −38 doc/rdoc/classes/Wee/Brush/GenericTextBrush.html
  21. +46 −30 doc/rdoc/classes/Wee/Brush/HiddenInputTag.html
  22. +53 −36 doc/rdoc/classes/Wee/Brush/ImageButtonTag.html
  23. +62 −29 doc/rdoc/classes/Wee/Brush/ImageTag.html
  24. +132 −41 doc/rdoc/classes/Wee/Brush/InputTag.html
  25. +55 −29 doc/rdoc/classes/Wee/Brush/JavascriptTag.html
  26. +73 −39 doc/rdoc/classes/Wee/Brush/Page.html
  27. +46 −30 doc/rdoc/classes/Wee/Brush/PasswordInputTag.html
  28. +107 −59 doc/rdoc/classes/Wee/Brush/RadioButtonTag.html
  29. +86 −48 doc/rdoc/classes/Wee/Brush/RadioGroup.html
  30. +229 −105 doc/rdoc/classes/Wee/Brush/SelectListTag.html
  31. +56 −29 doc/rdoc/classes/Wee/Brush/SelectOptionTag.html
  32. +46 −30 doc/rdoc/classes/Wee/Brush/SubmitButtonTag.html
  33. +56 −29 doc/rdoc/classes/Wee/Brush/TableDataTag.html
  34. +56 −29 doc/rdoc/classes/Wee/Brush/TableHeaderTag.html
  35. +118 −61 doc/rdoc/classes/Wee/Brush/TableRowTag.html
  36. +64 −28 doc/rdoc/classes/Wee/Brush/TableTag.html
  37. +165 −57 doc/rdoc/classes/Wee/Brush/TextAreaTag.html
  38. +46 −30 doc/rdoc/classes/Wee/Brush/TextInputTag.html
  39. +109 −40 doc/rdoc/classes/Wee/CallAnswerMixin.html
  40. +233 −0 doc/rdoc/classes/Wee/CallbackMixin.html
  41. +187 −69 doc/rdoc/classes/Wee/CallbackRegistry.html
  42. +110 −43 doc/rdoc/classes/Wee/Callbacks.html
  43. +180 −99 doc/rdoc/classes/Wee/Component.html
  44. +127 −72 doc/rdoc/classes/Wee/Decoration.html
  45. +72 −30 doc/rdoc/classes/Wee/DecorationMixin.html
  46. +98 −55 doc/rdoc/classes/Wee/Delegate.html
  47. +54 −37 doc/rdoc/classes/Wee/DupReplaceSnapshotMixin.html
  48. +54 −37 doc/rdoc/classes/Wee/ErrorResponse.html
  49. +48 −34 doc/rdoc/classes/Wee/FormDecoration.html
  50. +57 −32 doc/rdoc/classes/Wee/GenericResponse.html
  51. +663 −185 doc/rdoc/classes/Wee/HtmlCanvas.html
  52. +288 −0 doc/rdoc/classes/Wee/HtmlDocument.html
  53. +217 −103 doc/rdoc/classes/Wee/HtmlWriter.html
  54. +44 −28 doc/rdoc/classes/Wee/IdGenerator.html
  55. +95 −53 doc/rdoc/classes/Wee/IdGenerator/Secure.html
  56. +63 −37 doc/rdoc/classes/Wee/IdGenerator/Sequential.html
  57. +221 −0 doc/rdoc/classes/Wee/JQuery.html
  58. +189 −94 doc/rdoc/classes/Wee/LRUCache.html
  59. +42 −30 doc/rdoc/classes/Wee/LRUCache/Item.html
  60. +0 −261 doc/rdoc/classes/Wee/LoginDecoration.html
  61. +0 −204 doc/rdoc/classes/Wee/MessageBox.html
  62. +54 −37 doc/rdoc/classes/Wee/ObjectSnapshotMixin.html
  63. +81 −50 doc/rdoc/classes/Wee/PageDecoration.html
  64. +0 −535 doc/rdoc/classes/Wee/Pager.html
  65. +126 −69 doc/rdoc/classes/Wee/Presenter.html
  66. +61 −30 doc/rdoc/classes/Wee/RedirectResponse.html
  67. +46 −32 doc/rdoc/classes/Wee/RefreshResponse.html
  68. +139 −64 doc/rdoc/classes/Wee/Renderer.html
  69. +121 −89 doc/rdoc/classes/Wee/Request.html
  70. +26 −24 doc/rdoc/classes/Wee/Response.html
  71. +366 −157 doc/rdoc/classes/Wee/Session.html
  72. +47 −30 doc/rdoc/classes/Wee/Session/AbortCallbackProcessing.html
  73. +166 −0 doc/rdoc/classes/Wee/Session/MutexSerializer.html
  74. +21 −22 doc/rdoc/classes/Wee/Session/Page.html
  75. +219 −0 doc/rdoc/classes/Wee/Session/ThreadSerializer.html
  76. +102 −55 doc/rdoc/classes/Wee/State.html
  77. +21 −22 doc/rdoc/classes/Wee/State/Snapshot.html
  78. +21 −22 doc/rdoc/classes/Wee/State/SnapshotIVars.html
  79. +54 −37 doc/rdoc/classes/Wee/StructSnapshotMixin.html
  80. +70 −44 doc/rdoc/classes/Wee/WrapperDecoration.html
  81. +1 −1  doc/rdoc/created.rid
  82. +19 −28 doc/rdoc/files/{README.html → README_rdoc.html}
  83. +19 −25 doc/rdoc/files/lib/wee/application_rb.html
  84. +12 −23 doc/rdoc/files/lib/wee/call_answer_rb.html
  85. +12 −23 doc/rdoc/files/lib/wee/callback_rb.html
  86. +19 −25 doc/rdoc/files/lib/wee/component_rb.html
  87. +0 −108 doc/rdoc/files/lib/wee/components/form_decoration_rb.html
  88. +0 −101 doc/rdoc/files/lib/wee/components/messagebox_rb.html
  89. +0 −108 doc/rdoc/files/lib/wee/components/page_decoration_rb.html
  90. +15 −23 doc/rdoc/files/lib/wee/decoration_rb.html
  91. +12 −23 doc/rdoc/files/lib/wee/html_brushes_rb.html
  92. +15 −23 doc/rdoc/files/lib/wee/html_canvas_rb.html
  93. +18 −26 doc/rdoc/files/lib/wee/{components/login_decoration_rb.html → html_document_rb.html}
  94. +15 −23 doc/rdoc/files/lib/wee/html_writer_rb.html
  95. +17 −24 doc/rdoc/files/lib/wee/id_generator_rb.html
  96. +14 −25 doc/rdoc/files/lib/wee/{components/pager_rb.html → jquery/jquery_rb.html}
  97. +18 −26 doc/rdoc/files/lib/wee/{components/wrapper_decoration_rb.html → jquery_rb.html}
  98. +12 −23 doc/rdoc/files/lib/wee/lru_cache_rb.html
  99. +12 −23 doc/rdoc/files/lib/wee/presenter_rb.html
  100. +12 −23 doc/rdoc/files/lib/wee/renderer_rb.html
  101. +15 −23 doc/rdoc/files/lib/wee/request_rb.html
  102. +17 −24 doc/rdoc/files/lib/wee/response_rb.html
  103. +21 −26 doc/rdoc/files/lib/wee/session_rb.html
  104. +12 −23 doc/rdoc/files/lib/wee/state_rb.html
  105. +47 −39 doc/rdoc/files/lib/wee_rb.html
  106. +91 −15 doc/rdoc/fr_class_index.html
  107. +34 −19 doc/rdoc/fr_file_index.html
  108. +468 −229 doc/rdoc/fr_method_index.html
  109. +6 −9 doc/rdoc/index.html
  110. +210 −119 doc/rdoc/rdoc-style.css
View
48 doc/rdoc/classes/Array.html
@@ -1,12 +1,9 @@
-<?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">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>Class: Array</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Class: Array [RDoc Documentation]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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">
@@ -25,7 +22,7 @@
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
@@ -34,10 +31,10 @@
return true;
}
-
+
// Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
// ]]>
</script>
@@ -45,7 +42,6 @@
<body>
-
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
@@ -55,45 +51,56 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
+
+
<a href="../files/lib/wee/state_rb.html">
+
lib/wee/state.rb
+
</a>
+
+
<br />
+
</td>
</tr>
+
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
+
<a href="Object.html">
+
Object
+
</a>
+
</td>
</tr>
+
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
-
-
<div id="contextContent">
-
-
</div>
</div>
-
<!-- if includes -->
+
<div id="includes">
<h3 class="section-bar">Included Modules</h3>
<div id="includes-list">
+
<span class="include-name"><a href="Wee/DupReplaceSnapshotMixin.html">Wee::DupReplaceSnapshotMixin</a></span>
+
</div>
</div>
@@ -102,19 +109,16 @@ <h3 class="section-bar">Included Modules</h3>
-
-
+ <!-- if method_list -->
- <!-- if method_list -->
</div>
-
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>
</body>
-</html>
+</html>
View
48 doc/rdoc/classes/Hash.html
@@ -1,12 +1,9 @@
-<?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">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>Class: Hash</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Class: Hash [RDoc Documentation]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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">
@@ -25,7 +22,7 @@
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
@@ -34,10 +31,10 @@
return true;
}
-
+
// Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
// ]]>
</script>
@@ -45,7 +42,6 @@
<body>
-
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
@@ -55,45 +51,56 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
+
+
<a href="../files/lib/wee/state_rb.html">
+
lib/wee/state.rb
+
</a>
+
+
<br />
+
</td>
</tr>
+
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
+
<a href="Object.html">
+
Object
+
</a>
+
</td>
</tr>
+
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
-
-
<div id="contextContent">
-
-
</div>
</div>
-
<!-- if includes -->
+
<div id="includes">
<h3 class="section-bar">Included Modules</h3>
<div id="includes-list">
+
<span class="include-name"><a href="Wee/DupReplaceSnapshotMixin.html">Wee::DupReplaceSnapshotMixin</a></span>
+
</div>
</div>
@@ -102,19 +109,16 @@ <h3 class="section-bar">Included Modules</h3>
-
-
+ <!-- if method_list -->
- <!-- if method_list -->
</div>
-
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>
</body>
-</html>
+</html>
View
47 doc/rdoc/classes/Object.html
@@ -1,12 +1,9 @@
-<?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">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>Class: Object</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Class: Object [RDoc Documentation]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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">
@@ -25,7 +22,7 @@
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
@@ -34,10 +31,10 @@
return true;
}
-
+
// Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
// ]]>
</script>
@@ -45,7 +42,6 @@
<body>
-
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
@@ -55,29 +51,40 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
+
+
<a href="../files/lib/wee/state_rb.html">
+
lib/wee/state.rb
+
</a>
+
+
<br />
+
</td>
</tr>
+
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
+
<a href="Object.html">
+
Object
+
</a>
+
</td>
</tr>
+
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
-
-
<div id="contextContent">
<div id="description">
@@ -87,19 +94,20 @@
</div>
-
</div>
</div>
-
<!-- if includes -->
+
<div id="includes">
<h3 class="section-bar">Included Modules</h3>
<div id="includes-list">
+
<span class="include-name"><a href="Wee/ObjectSnapshotMixin.html">Wee::ObjectSnapshotMixin</a></span>
+
</div>
</div>
@@ -108,19 +116,16 @@ <h3 class="section-bar">Included Modules</h3>
-
-
+ <!-- if method_list -->
- <!-- if method_list -->
</div>
-
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>
</body>
-</html>
+</html>
View
106 doc/rdoc/classes/String.html
@@ -1,12 +1,9 @@
-<?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">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>Class: String</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Class: String [RDoc Documentation]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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">
@@ -25,7 +22,7 @@
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
@@ -34,10 +31,10 @@
return true;
}
-
+
// Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
// ]]>
</script>
@@ -45,7 +42,6 @@
<body>
-
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
@@ -55,45 +51,83 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
+
+
<a href="../files/lib/wee/state_rb.html">
+
lib/wee/state.rb
+
</a>
+
+
<br />
+
+
+ <a href="../files/lib/wee_rb.html">
+
+ lib/wee.rb
+
+ </a>
+
+
+ <br />
+
</td>
</tr>
+
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
+
<a href="Object.html">
+
Object
+
</a>
+
</td>
</tr>
+
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
-
-
<div id="contextContent">
+ <div id="description">
+ <p>
+required by Rack
+</p>
+ </div>
</div>
- </div>
+ <div id="method-list">
+ <h3 class="section-bar">Methods</h3>
+
+ <div class="name-list">
+
+ <a href="#M000001">each</a>&nbsp;&nbsp;
+
+ </div>
+ </div>
+ </div>
<!-- if includes -->
+
<div id="includes">
<h3 class="section-bar">Included Modules</h3>
<div id="includes-list">
+
<span class="include-name"><a href="Wee/DupReplaceSnapshotMixin.html">Wee::DupReplaceSnapshotMixin</a></span>
+
</div>
</div>
@@ -102,19 +136,53 @@ <h3 class="section-bar">Included Modules</h3>
+ <!-- if method_list -->
-
+ <div id="methods">
+ <h3 class="section-bar">Public Instance methods</h3>
- <!-- if method_list -->
+ <div id="method-M000001" class="method-detail">
+ <a name="M000001"></a>
- </div>
+ <div class="method-heading">
+
+ <a href="#M000001" class="method-signature">
+
+ <span class="method-name">each</span><span class="method-args">() {|self end| ...}</span>
+ </a>
+
+ </div>
+
+ <div class="method-description">
+
+ <p><a class="source-toggle" href="#"
+ onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000001-source">
+<pre>
+<span class="ruby-comment cmt"># File lib/wee.rb, line 31</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>() <span class="ruby-keyword kw">yield</span> <span class="ruby-keyword kw">self</span> <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">end</span>
+</pre>
+ </div>
+
+ </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>
+</html>
View
48 doc/rdoc/classes/Struct.html
@@ -1,12 +1,9 @@
-<?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">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>Class: Struct</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Class: Struct [RDoc Documentation]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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">
@@ -25,7 +22,7 @@
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
@@ -34,10 +31,10 @@
return true;
}
-
+
// Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
// ]]>
</script>
@@ -45,7 +42,6 @@
<body>
-
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
@@ -55,45 +51,56 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
+
+
<a href="../files/lib/wee/state_rb.html">
+
lib/wee/state.rb
+
</a>
+
+
<br />
+
</td>
</tr>
+
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
+
<a href="Object.html">
+
Object
+
</a>
+
</td>
</tr>
+
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
-
-
<div id="contextContent">
-
-
</div>
</div>
-
<!-- if includes -->
+
<div id="includes">
<h3 class="section-bar">Included Modules</h3>
<div id="includes-list">
+
<span class="include-name"><a href="Wee/StructSnapshotMixin.html">Wee::StructSnapshotMixin</a></span>
+
</div>
</div>
@@ -102,19 +109,16 @@ <h3 class="section-bar">Included Modules</h3>
-
-
+ <!-- if method_list -->
- <!-- if method_list -->
</div>
-
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>
</body>
-</html>
+</html>
View
317 doc/rdoc/classes/Wee.html
@@ -1,12 +1,9 @@
-<?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">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>Module: Wee</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Module: Wee [RDoc Documentation]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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">
@@ -25,7 +22,7 @@
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
@@ -34,10 +31,10 @@
return true;
}
-
+
// Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
// ]]>
</script>
@@ -45,7 +42,6 @@
<body>
-
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
@@ -55,118 +51,226 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../files/lib/wee/lru_cache_rb.html">
- lib/wee/lru_cache.rb
- </a>
- <br />
- <a href="../files/lib/wee/html_brushes_rb.html">
- lib/wee/html_brushes.rb
- </a>
- <br />
- <a href="../files/lib/wee/decoration_rb.html">
- lib/wee/decoration.rb
- </a>
- <br />
- <a href="../files/lib/wee/html_canvas_rb.html">
- lib/wee/html_canvas.rb
- </a>
- <br />
- <a href="../files/lib/wee/call_answer_rb.html">
- lib/wee/call_answer.rb
+
+
+ <a href="../files/lib/wee/session_rb.html">
+
+ lib/wee/session.rb
+
</a>
+
+
<br />
+
+
<a href="../files/lib/wee/request_rb.html">
+
lib/wee/request.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/response_rb.html">
- lib/wee/response.rb
+
+
+ <a href="../files/lib/wee/component_rb.html">
+
+ lib/wee/component.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/html_writer_rb.html">
- lib/wee/html_writer.rb
+
+
+ <a href="../files/lib/wee/renderer_rb.html">
+
+ lib/wee/renderer.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/callback_rb.html">
- lib/wee/callback.rb
+
+
+ <a href="../files/lib/wee/jquery/jquery_rb.html">
+
+ lib/wee/jquery/jquery.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/state_rb.html">
- lib/wee/state.rb
+
+
+ <a href="../files/lib/wee/presenter_rb.html">
+
+ lib/wee/presenter.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/components/form_decoration_rb.html">
- lib/wee/components/form_decoration.rb
+
+
+ <a href="../files/lib/wee/call_answer_rb.html">
+
+ lib/wee/call_answer.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/components/page_decoration_rb.html">
- lib/wee/components/page_decoration.rb
+
+
+ <a href="../files/lib/wee/html_canvas_rb.html">
+
+ lib/wee/html_canvas.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/components/wrapper_decoration_rb.html">
- lib/wee/components/wrapper_decoration.rb
+
+
+ <a href="../files/lib/wee/application_rb.html">
+
+ lib/wee/application.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/components/login_decoration_rb.html">
- lib/wee/components/login_decoration.rb
+
+
+ <a href="../files/lib/wee/lru_cache_rb.html">
+
+ lib/wee/lru_cache.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/session_rb.html">
- lib/wee/session.rb
+
+
+ <a href="../files/lib/wee/response_rb.html">
+
+ lib/wee/response.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/presenter_rb.html">
- lib/wee/presenter.rb
+
+
+ <a href="../files/lib/wee/html_brushes_rb.html">
+
+ lib/wee/html_brushes.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/component_rb.html">
- lib/wee/component.rb
+
+
+ <a href="../files/lib/wee/html_writer_rb.html">
+
+ lib/wee/html_writer.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/application_rb.html">
- lib/wee/application.rb
+
+
+ <a href="../files/lib/wee/decoration_rb.html">
+
+ lib/wee/decoration.rb
+
</a>
+
+
<br />
+
+
<a href="../files/lib/wee/id_generator_rb.html">
+
lib/wee/id_generator.rb
+
</a>
+
+
<br />
- <a href="../files/lib/wee/renderer_rb.html">
- lib/wee/renderer.rb
+
+
+ <a href="../files/lib/wee/callback_rb.html">
+
+ lib/wee/callback.rb
+
+ </a>
+
+
+ <br />
+
+
+ <a href="../files/lib/wee/state_rb.html">
+
+ lib/wee/state.rb
+
</a>
+
+
+ <br />
+
+
+ <a href="../files/lib/wee/html_document_rb.html">
+
+ lib/wee/html_document.rb
+
+ </a>
+
+
<br />
+
+
<a href="../files/lib/wee_rb.html">
+
lib/wee.rb
+
</a>
+
+
<br />
+
</td>
</tr>
+
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
-
-
<div id="contextContent">
-
-
</div>
+
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000001">run</a>&nbsp;&nbsp;
+
+ <a href="#M000002">run</a>&nbsp;&nbsp;
+
+ <a href="#M000003">runcc</a>&nbsp;&nbsp;
+
</div>
</div>
</div>
-
<!-- if includes -->
<div id="section">
@@ -175,6 +279,7 @@ <h3 class="section-bar">Methods</h3>
<h3 class="section-bar">Classes and Modules</h3>
Module <a href="Wee/CallAnswerMixin.html" class="link">Wee::CallAnswerMixin</a><br />
+Module <a href="Wee/CallbackMixin.html" class="link">Wee::CallbackMixin</a><br />
Module <a href="Wee/DecorationMixin.html" class="link">Wee::DecorationMixin</a><br />
Module <a href="Wee/DupReplaceSnapshotMixin.html" class="link">Wee::DupReplaceSnapshotMixin</a><br />
Module <a href="Wee/ObjectSnapshotMixin.html" class="link">Wee::ObjectSnapshotMixin</a><br />
@@ -191,13 +296,12 @@ <h3 class="section-bar">Classes and Modules</h3>
Class <a href="Wee/FormDecoration.html" class="link">Wee::FormDecoration</a><br />
Class <a href="Wee/GenericResponse.html" class="link">Wee::GenericResponse</a><br />
Class <a href="Wee/HtmlCanvas.html" class="link">Wee::HtmlCanvas</a><br />
+Class <a href="Wee/HtmlDocument.html" class="link">Wee::HtmlDocument</a><br />
Class <a href="Wee/HtmlWriter.html" class="link">Wee::HtmlWriter</a><br />
Class <a href="Wee/IdGenerator.html" class="link">Wee::IdGenerator</a><br />
+Class <a href="Wee/JQuery.html" class="link">Wee::JQuery</a><br />
Class <a href="Wee/LRUCache.html" class="link">Wee::LRUCache</a><br />
-Class <a href="Wee/LoginDecoration.html" class="link">Wee::LoginDecoration</a><br />
-Class <a href="Wee/MessageBox.html" class="link">Wee::MessageBox</a><br />
Class <a href="Wee/PageDecoration.html" class="link">Wee::PageDecoration</a><br />
-Class <a href="Wee/Pager.html" class="link">Wee::Pager</a><br />
Class <a href="Wee/Presenter.html" class="link">Wee::Presenter</a><br />
Class <a href="Wee/RedirectResponse.html" class="link">Wee::RedirectResponse</a><br />
Class <a href="Wee/RefreshResponse.html" class="link">Wee::RefreshResponse</a><br />
@@ -215,63 +319,118 @@ <h3 class="section-bar">Constants</h3>
<div class="name-list">
<table summary="Constants">
+
<tr class="top-aligned-row context-row">
<td class="context-item-name">Version</td>
<td>=</td>
<td class="context-item-value">&quot;2.0.0&quot;</td>
+
</tr>
+
</table>
</div>
</div>
-
-
<!-- if method_list -->
+
<div id="methods">
+
<h3 class="section-bar">Public Class methods</h3>
- <div id="method-M000001" class="method-detail">
- <a name="M000001"></a>
+
+ <div id="method-M000002" class="method-detail">
+ <a name="M000002"></a>
<div class="method-heading">
- <a href="#M000001" class="method-signature">
- <span class="method-name">run</span><span class="method-args">(component_class, mount_path='/', port=2000)</span>
+
+ <a href="#M000002" class="method-signature">
+
+ <span class="method-name">run</span><span class="method-args">(component_class=nil, mount_path='/', port=2000, &amp;block)</span>
+
</a>
+
</div>
-
+
<div class="method-description">
+
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000001-source">
+ onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000002-source">
<pre>
-<span class="ruby-comment cmt"># File lib/wee.rb, line 29</span>
-<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Wee</span>.<span class="ruby-identifier">run</span>(<span class="ruby-identifier">component_class</span>, <span class="ruby-identifier">mount_path</span>=<span class="ruby-value str">'/'</span>, <span class="ruby-identifier">port</span>=<span class="ruby-value">2000</span>)
+<span class="ruby-comment cmt"># File lib/wee.rb, line 38</span>
+<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Wee</span>.<span class="ruby-identifier">run</span>(<span class="ruby-identifier">component_class</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">mount_path</span>=<span class="ruby-value str">'/'</span>, <span class="ruby-identifier">port</span>=<span class="ruby-value">2000</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">component_class</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">block</span>
+
<span class="ruby-identifier">require</span> <span class="ruby-value str">'rack/handler/webrick'</span>
<span class="ruby-identifier">app</span> = <span class="ruby-constant">Rack</span><span class="ruby-operator">::</span><span class="ruby-constant">Builder</span>.<span class="ruby-identifier">app</span> <span class="ruby-keyword kw">do</span>
<span class="ruby-identifier">map</span> <span class="ruby-identifier">mount_path</span> <span class="ruby-keyword kw">do</span>
- <span class="ruby-identifier">run</span> <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">Application</span>.<span class="ruby-identifier">new</span> { <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">Session</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">component_class</span>.<span class="ruby-identifier">new</span>) }
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block</span>
+ <span class="ruby-identifier">run</span> <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">Application</span>.<span class="ruby-identifier">new</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
+ <span class="ruby-keyword kw">else</span>
+ <span class="ruby-identifier">run</span> <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">Application</span>.<span class="ruby-identifier">new</span> { <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">Session</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">component_class</span>.<span class="ruby-identifier">new</span>) }
+ <span class="ruby-keyword kw">end</span>
<span class="ruby-keyword kw">end</span>
<span class="ruby-keyword kw">end</span>
<span class="ruby-constant">Rack</span><span class="ruby-operator">::</span><span class="ruby-constant">Handler</span><span class="ruby-operator">::</span><span class="ruby-constant">WEBrick</span>.<span class="ruby-identifier">run</span>(<span class="ruby-identifier">app</span>, <span class="ruby-identifier">:Port</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">port</span>)
<span class="ruby-keyword kw">end</span>
</pre>
</div>
+
+ </div>
+ </div>
+
+
+ <div id="method-M000003" class="method-detail">
+ <a name="M000003"></a>
+
+ <div class="method-heading">
+
+ <a href="#M000003" class="method-signature">
+
+ <span class="method-name">runcc</span><span class="method-args">(component_class, *args)</span>
+
+ </a>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Like <a href="Wee.html#M000002">Wee.run</a>, but for use with
+continuations.
+</p>
+
+ <p><a class="source-toggle" href="#"
+ onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000003-source">
+<pre>
+<span class="ruby-comment cmt"># File lib/wee.rb, line 57</span>
+<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Wee</span>.<span class="ruby-identifier">runcc</span>(<span class="ruby-identifier">component_class</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
+ <span class="ruby-constant">Wee</span>.<span class="ruby-identifier">run</span>(<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>) {
+ <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">Session</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">component_class</span>.<span class="ruby-identifier">new</span>, <span class="ruby-constant">Wee</span><span class="ruby-operator">::</span><span class="ruby-constant">Session</span><span class="ruby-operator">::</span><span class="ruby-constant">ThreadSerializer</span>.<span class="ruby-identifier">new</span>)
+ }
+<span class="ruby-keyword kw">end</span>
+</pre>
+ </div>
+
</div>
</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>
+</html>
View
125 doc/rdoc/classes/Wee/AnswerDecoration.html
@@ -1,12 +1,9 @@
-<?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">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>Class: Wee::AnswerDecoration</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Class: Wee::AnswerDecoration [RDoc Documentation]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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">
@@ -25,7 +22,7 @@
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
@@ -34,10 +31,10 @@
return true;
}
-
+
// Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
// ]]>
</script>
@@ -45,7 +42,6 @@
<body>
-
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
@@ -55,29 +51,40 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
+
+
<a href="../../files/lib/wee/call_answer_rb.html">
+
lib/wee/call_answer.rb
+
</a>
+
+
<br />
+
</td>
</tr>
+
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
+
<a href="Decoration.html">
- Decoration
+
+ Wee::Decoration
+
</a>
+
</td>
</tr>
+
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
-
-
<div id="contextContent">
<div id="description">
@@ -90,21 +97,23 @@
</div>
-
</div>
+
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000114">new</a>&nbsp;&nbsp;
- <a href="#M000115">process_callbacks</a>&nbsp;&nbsp;
+
+ <a href="#M000065">new</a>&nbsp;&nbsp;
+
+ <a href="#M000066">process_callbacks</a>&nbsp;&nbsp;
+
</div>
</div>
</div>
-
<!-- if includes -->
<div id="section">
@@ -118,83 +127,119 @@ <h3 class="section-bar">Classes and Modules</h3>
+ <div id="attribute-list">
+ <h3 class="section-bar">Attributes</h3>
-
+ <div class="name-list">
+ <table>
+
+ <tr class="top-aligned-row context-row">
+ <td class="context-item-name">answer_callback</td>
+
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
+
+ <td class="context-item-desc"></td>
+ </tr>
+
+ </table>
+ </div>
+ </div>
<!-- if method_list -->
+
<div id="methods">
+
<h3 class="section-bar">Public Class methods</h3>
- <div id="method-M000114" class="method-detail">
- <a name="M000114"></a>
+
+ <div id="method-M000065" class="method-detail">
+ <a name="M000065"></a>
<div class="method-heading">
- <a href="#M000114" class="method-signature">
+
+ <a href="#M000065" class="method-signature">
+
<span class="method-name">new</span><span class="method-args">(&amp;answer_callback)</span>
+
</a>
+
</div>
-
+
<div class="method-description">
+
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000114-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000114-source">
+ onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000065-source">
<pre>
-<span class="ruby-comment cmt"># File lib/wee/call_answer.rb, line 19</span>
+<span class="ruby-comment cmt"># File lib/wee/call_answer.rb, line 21</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">answer_callback</span>)
<span class="ruby-keyword kw">super</span>()
<span class="ruby-ivar">@answer_callback</span> = <span class="ruby-identifier">answer_callback</span>
<span class="ruby-keyword kw">end</span>
</pre>
</div>
+
</div>
</div>
+
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000115" class="method-detail">
- <a name="M000115"></a>
+
+ <div id="method-M000066" class="method-detail">
+ <a name="M000066"></a>
<div class="method-heading">
- <a href="#M000115" class="method-signature">
+
+ <a href="#M000066" class="method-signature">
+
<span class="method-name">process_callbacks</span><span class="method-args">(callbacks)</span>
+
</a>
+
</div>
-
+
<div class="method-description">
+
<p>
-When a component answers, <tt>@answer_callback.call(args)</tt> will be
-executed (unless nil), where <tt>args</tt> are the arguments passed to
-Component#answer.
+When a component answers, <tt>@answer_callback.call(answer)</tt> will be
+executed, where <tt>answer</tt> is of class <a
+href="AnswerDecoration/Answer.html">Answer</a> which includes the arguments
+passed to Component#answer.
</p>
+
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000115-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000115-source">
+ onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000066-source">
<pre>
-<span class="ruby-comment cmt"># File lib/wee/call_answer.rb, line 29</span>
+<span class="ruby-comment cmt"># File lib/wee/call_answer.rb, line 31</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process_callbacks</span>(<span class="ruby-identifier">callbacks</span>)
<span class="ruby-keyword kw">begin</span>
<span class="ruby-keyword kw">super</span>
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Answer</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">answer</span>
<span class="ruby-comment cmt"># return to the calling component </span>
- <span class="ruby-ivar">@answer_callback</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">answer</span>.<span class="ruby-identifier">args</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@answer_callback</span>
+ <span class="ruby-ivar">@answer_callback</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">answer</span>)
<span class="ruby-keyword kw">end</span>
<span class="ruby-keyword kw">end</span>
</pre>
</div>
+
</div>
</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>
+</html>
View
74 doc/rdoc/classes/Wee/AnswerDecoration/Answer.html
@@ -1,12 +1,9 @@
-<?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">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>Class: Wee::AnswerDecoration::Answer</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Class: Wee::AnswerDecoration::Answer [RDoc Documentation]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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">
@@ -25,7 +22,7 @@
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
@@ -34,10 +31,10 @@
return true;
}
-
+
// Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
// ]]>
</script>
@@ -45,7 +42,6 @@
<body>
-
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
@@ -55,27 +51,36 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
+
+
<a href="../../../files/lib/wee/call_answer_rb.html">
+
lib/wee/call_answer.rb
+
</a>
+
+
<br />
+
</td>
</tr>
+
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
+
Exception
+
</td>
</tr>
+
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
-
-
<div id="contextContent">
<div id="description">
@@ -85,79 +90,92 @@
</div>
-
</div>
+
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000116">new</a>&nbsp;&nbsp;
+
+ <a href="#M000067">new</a>&nbsp;&nbsp;
+
</div>
</div>
</div>
-
<!-- if includes -->
<div id="section">
-
-
<div id="attribute-list">
<h3 class="section-bar">Attributes</h3>
<div class="name-list">
<table>
+
<tr class="top-aligned-row context-row">
<td class="context-item-name">args</td>
+
<td class="context-item-value">&nbsp;[R]&nbsp;</td>
+
<td class="context-item-desc"></td>
</tr>
+
</table>
</div>
</div>
-
<!-- if method_list -->
+
<div id="methods">
+
<h3 class="section-bar">Public Class methods</h3>
- <div id="method-M000116" class="method-detail">
- <a name="M000116"></a>
+
+ <div id="method-M000067" class="method-detail">
+ <a name="M000067"></a>
<div class="method-heading">
- <a href="#M000116" class="method-signature">
+
+ <a href="#M000067" class="method-signature">
+
<span class="method-name">new</span><span class="method-args">(args)</span>
+
</a>
+
</div>
-
+
<div class="method-description">
+
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000116-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000116-source">
+ onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000067-source">
<pre>
<span class="ruby-comment cmt"># File lib/wee/call_answer.rb, line 16</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">args</span>) <span class="ruby-ivar">@args</span> = <span class="ruby-identifier">args</span> <span class="ruby-keyword kw">end</span>
</pre>
</div>
+
</div>
</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>
+</html>
View
177 doc/rdoc/classes/Wee/Application.html
@@ -1,12 +1,9 @@
-<?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">
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
- <title>Class: Wee::Application</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>Class: Wee::Application [RDoc Documentation]</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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">
@@ -25,7 +22,7 @@
return false;
elemStyle = elem.style;
-
+
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
@@ -34,10 +31,10 @@
return true;
}
-
+
// Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
+
// ]]>
</script>
@@ -45,7 +42,6 @@
<body>
-
<div id="classHeader">
<table class="header-table">
<tr class="top-aligned-row">
@@ -55,58 +51,74 @@
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
+
+
<a href="../../files/lib/wee/application_rb.html">
+
lib/wee/application.rb
+
</a>
+
+
<br />
+
</td>
</tr>
+
<tr class="top-aligned-row">
<td><strong>Parent:</strong></td>
<td>
+
<a href="../Object.html">
+
Object
+
</a>
+
</td>
</tr>
+
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
-
-
<div id="contextContent">
<div id="description">
<p>
-A <a href="Application.html">Wee::Application</a> manages all <a
-href="Session.html">Session</a>&#8216;s of a single application. It
-dispatches the request to the correct handler by examining the request.
+A <a href="Application.html">Wee::Application</a> manages all
+Session&#8217;s of a single application. It dispatches the request to the
+correct handler by examining the request.
</p>
</div>
-
</div>
+
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000101">call</a>&nbsp;&nbsp;
- <a href="#M000100">cleanup_sessions</a>&nbsp;&nbsp;
- <a href="#M000103">insert_session</a>&nbsp;&nbsp;
- <a href="#M000099">new</a>&nbsp;&nbsp;
- <a href="#M000102">new_session</a>&nbsp;&nbsp;
+
+ <a href="#M000096">call</a>&nbsp;&nbsp;
+
+ <a href="#M000095">cleanup_sessions</a>&nbsp;&nbsp;
+
+ <a href="#M000098">insert_session</a>&nbsp;&nbsp;
+
+ <a href="#M000094">new</a>&nbsp;&nbsp;
+
+ <a href="#M000097">new_session</a>&nbsp;&nbsp;
+
</div>
</div>
</div>
-
<!-- if includes -->
<div id="section">
@@ -121,35 +133,39 @@ <h3 class="section-bar">Classes and Modules</h3>
-
-
-
<!-- if method_list -->
+
<div id="methods">
+
<h3 class="section-bar">Public Class methods</h3>
- <div id="method-M000099" class="method-detail">
- <a name="M000099"></a>
+
+ <div id="method-M000094" class="method-detail">
+ <a name="M000094"></a>
<div class="method-heading">
- <a href="#M000099" class="method-signature">
+
+ <a href="#M000094" class="method-signature">
+
<span class="method-name">new</span><span class="method-args">(max_sessions=10_000, &amp;block)</span>
+
</a>
+
</div>
-
+
<div class="method-description">
+
<p>
-Creates a <a href="Application.html#M000099">new</a> application. The
-block, when called, must return a <a
-href="Application.html#M000099">new</a> <a href="Session.html">Session</a>
-instance.
+Creates a new application. The block, when called, must return a new <a
+href="Session.html">Session</a> instance.
</p>
<pre>
Wee::Application.new { Wee::Session.new(root_component) }
</pre>
+
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000099-source">
+ onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
+ <div class="method-source-code" id="M000094-source">
<pre>
<span class="ruby-comment cmt"># File lib/wee/application.rb, line 25</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">max_sessions</span>=<span class="ruby-value">10_000</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -160,27 +176,36 @@ <h3 class="section-bar">Public Class methods</h3>
<span class="ruby-keyword kw">end</span>
</pre>
</div>
+
</div>
</div>
+
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000101" class="method-detail">
- <a name="M000101"></a>
+
+ <div id="method-M000096" class="method-detail">
+ <a name="M000096"></a>
<div class="method-heading">
- <a href="#M000101" class="method-signature">
+
+ <a href="#M000096" class="method-signature">
+
<span class="method-name">call</span><span class="method-args">(env)</span>
+
</a>
+
</div>
-
+
<div class="method-description">
+
<p>
Handles a web request
</p>
+
<p><a class="source-toggle" href="#"
- onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000101-source">
+ onclick="toggleCode('M000096-source');return false;">[Source]</a></p>