milk 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. data/INSTALL +8 -0
  2. data/LICENSE +24 -17
  3. data/README +3 -0
  4. data/Rakefile +21 -56
  5. data/bin/milk +2 -19
  6. data/doc/classes/Milk.html +198 -0
  7. data/doc/classes/Milk.src/M000005.html +17 -0
  8. data/doc/classes/Milk/Application.html +209 -0
  9. data/doc/classes/Milk/Application.src/M000007.html +69 -0
  10. data/doc/classes/Milk/Application.src/M000008.html +38 -0
  11. data/doc/classes/Milk/Component.html +397 -0
  12. data/doc/classes/Milk/Component.src/M000014.html +19 -0
  13. data/doc/classes/Milk/Component.src/M000015.html +16 -0
  14. data/doc/classes/Milk/Component.src/M000016.html +15 -0
  15. data/doc/classes/Milk/Component.src/M000017.html +15 -0
  16. data/doc/classes/Milk/Component.src/M000018.html +15 -0
  17. data/doc/classes/Milk/Component.src/M000019.html +15 -0
  18. data/doc/classes/Milk/Component.src/M000020.html +15 -0
  19. data/doc/classes/Milk/Component.src/M000021.html +15 -0
  20. data/doc/classes/Milk/Component.src/M000022.html +18 -0
  21. data/doc/classes/Milk/Component.src/M000023.html +21 -0
  22. data/doc/classes/Milk/Component.src/M000024.html +15 -0
  23. data/doc/classes/Milk/Component.src/M000025.html +22 -0
  24. data/doc/classes/Milk/ExternalCompilerError.html +117 -0
  25. data/doc/classes/Milk/Field.html +114 -0
  26. data/doc/classes/Milk/Fields.html +173 -0
  27. data/doc/classes/Milk/Fields/ComponentArray.html +114 -0
  28. data/doc/classes/Milk/Fields/ImageChooser.html +114 -0
  29. data/doc/classes/Milk/Fields/MarkdownField.html +114 -0
  30. data/doc/classes/Milk/Fields/PageChooser.html +114 -0
  31. data/doc/classes/Milk/Fields/SpriteChooser.html +114 -0
  32. data/doc/classes/Milk/Fields/TextField.html +114 -0
  33. data/doc/classes/Milk/Haxe.html +208 -0
  34. data/doc/classes/Milk/Haxe.src/M000005.html +40 -0
  35. data/doc/classes/Milk/Haxe.src/M000006.html +15 -0
  36. data/doc/classes/Milk/Page.html +243 -0
  37. data/doc/classes/Milk/Page.src/M000009.html +17 -0
  38. data/doc/classes/Milk/Page.src/M000010.html +17 -0
  39. data/doc/classes/Milk/Page.src/M000011.html +18 -0
  40. data/doc/classes/Milk/Page.src/M000012.html +20 -0
  41. data/doc/classes/Milk/Page.src/M000013.html +21 -0
  42. data/doc/classes/Milk/PageNotFoundError.html +110 -0
  43. data/doc/classes/Object.html +237 -0
  44. data/doc/classes/Object.src/M000001.html +13 -0
  45. data/doc/classes/Object.src/M000002.html +13 -0
  46. data/doc/classes/Object.src/M000003.html +15 -0
  47. data/doc/classes/Object.src/M000004.html +15 -0
  48. data/doc/created.rid +1 -0
  49. data/doc/files/INSTALL.html +106 -0
  50. data/doc/files/LICENSE.html +126 -0
  51. data/doc/files/README.html +100 -0
  52. data/doc/files/Rakefile.html +121 -0
  53. data/doc/files/bin/milk.html +100 -0
  54. data/doc/files/doc/classes/Milk/Application_html.html +302 -0
  55. data/doc/files/doc/classes/Milk/Application_src/M000007_html.html +173 -0
  56. data/doc/files/doc/classes/Milk/Application_src/M000008_html.html +142 -0
  57. data/doc/files/doc/classes/Milk/Component_html.html +477 -0
  58. data/doc/files/doc/classes/Milk/Component_src/M000014_html.html +123 -0
  59. data/doc/files/doc/classes/Milk/Component_src/M000015_html.html +120 -0
  60. data/doc/files/doc/classes/Milk/Component_src/M000016_html.html +119 -0
  61. data/doc/files/doc/classes/Milk/Component_src/M000017_html.html +119 -0
  62. data/doc/files/doc/classes/Milk/Component_src/M000018_html.html +119 -0
  63. data/doc/files/doc/classes/Milk/Component_src/M000019_html.html +119 -0
  64. data/doc/files/doc/classes/Milk/Component_src/M000020_html.html +119 -0
  65. data/doc/files/doc/classes/Milk/Component_src/M000021_html.html +119 -0
  66. data/doc/files/doc/classes/Milk/Component_src/M000022_html.html +122 -0
  67. data/doc/files/doc/classes/Milk/Component_src/M000023_html.html +125 -0
  68. data/doc/files/doc/classes/Milk/Component_src/M000024_html.html +119 -0
  69. data/doc/files/doc/classes/Milk/Component_src/M000025_html.html +126 -0
  70. data/doc/files/doc/classes/Milk/ExternalCompilerError_html.html +214 -0
  71. data/doc/files/doc/classes/Milk/Field_html.html +209 -0
  72. data/doc/files/doc/classes/Milk/Fields/ComponentArray_html.html +209 -0
  73. data/doc/files/doc/classes/Milk/Fields/ImageChooser_html.html +209 -0
  74. data/doc/files/doc/classes/Milk/Fields/MarkdownField_html.html +209 -0
  75. data/doc/files/doc/classes/Milk/Fields/PageChooser_html.html +209 -0
  76. data/doc/files/doc/classes/Milk/Fields/SpriteChooser_html.html +209 -0
  77. data/doc/files/doc/classes/Milk/Fields/TextField_html.html +209 -0
  78. data/doc/files/doc/classes/Milk/Fields_html.html +264 -0
  79. data/doc/files/doc/classes/Milk/Haxe_html.html +298 -0
  80. data/doc/files/doc/classes/Milk/Haxe_src/M000005_html.html +144 -0
  81. data/doc/files/doc/classes/Milk/Haxe_src/M000006_html.html +119 -0
  82. data/doc/files/doc/classes/Milk/PageNotFoundError_html.html +205 -0
  83. data/doc/files/doc/classes/Milk/Page_html.html +330 -0
  84. data/doc/files/doc/classes/Milk/Page_src/M000009_html.html +121 -0
  85. data/doc/files/doc/classes/Milk/Page_src/M000010_html.html +121 -0
  86. data/doc/files/doc/classes/Milk/Page_src/M000011_html.html +122 -0
  87. data/doc/files/doc/classes/Milk/Page_src/M000012_html.html +124 -0
  88. data/doc/files/doc/classes/Milk/Page_src/M000013_html.html +125 -0
  89. data/doc/files/doc/classes/Milk_html.html +321 -0
  90. data/doc/files/doc/classes/Object_html.html +334 -0
  91. data/doc/files/doc/classes/Object_src/M000001_html.html +117 -0
  92. data/doc/files/doc/classes/Object_src/M000002_html.html +117 -0
  93. data/doc/files/doc/classes/Object_src/M000003_html.html +119 -0
  94. data/doc/files/doc/classes/Object_src/M000004_html.html +119 -0
  95. data/doc/files/doc/created_rid.html +97 -0
  96. data/doc/files/doc/files/INSTALL_html.html +206 -0
  97. data/doc/files/doc/files/LICENSE_html.html +226 -0
  98. data/doc/files/doc/files/README_html.html +201 -0
  99. data/doc/files/doc/files/Rakefile_html.html +221 -0
  100. data/doc/files/doc/files/bin/milk_html.html +198 -0
  101. data/doc/files/doc/files/lib/milk/application_rb_html.html +188 -0
  102. data/doc/files/doc/files/lib/milk/component_rb_html.html +188 -0
  103. data/doc/files/doc/files/lib/milk/field_rb_html.html +188 -0
  104. data/doc/files/doc/files/lib/milk/fields/component_array_rb_html.html +188 -0
  105. data/doc/files/doc/files/lib/milk/fields/image_chooser_rb_html.html +188 -0
  106. data/doc/files/doc/files/lib/milk/fields/markdown_field_rb_html.html +188 -0
  107. data/doc/files/doc/files/lib/milk/fields/page_chooser_rb_html.html +188 -0
  108. data/doc/files/doc/files/lib/milk/fields/sprite_chooser_rb_html.html +188 -0
  109. data/doc/files/doc/files/lib/milk/fields/text_field_rb_html.html +188 -0
  110. data/doc/files/doc/files/lib/milk/fields/xhtml_haml_html.html +211 -0
  111. data/doc/files/doc/files/lib/milk/haxe_rb_html.html +188 -0
  112. data/doc/files/doc/files/lib/milk/page_rb_html.html +188 -0
  113. data/doc/files/doc/files/lib/milk/tasks_rb_html.html +202 -0
  114. data/doc/files/doc/files/lib/milk/templates/bzrignore_html.html +197 -0
  115. data/doc/files/doc/files/lib/milk/templates/rackup_html.html +217 -0
  116. data/doc/files/doc/files/lib/milk/templates/rakefile_html.html +198 -0
  117. data/doc/files/doc/files/lib/milk/templates/restart_html.html +197 -0
  118. data/doc/files/doc/files/lib/milk_rb_html.html +197 -0
  119. data/doc/files/doc/fr_class_index_html.html +160 -0
  120. data/doc/files/doc/fr_file_index_html.html +174 -0
  121. data/doc/files/doc/fr_method_index_html.html +178 -0
  122. data/doc/files/doc/index_html.html +128 -0
  123. data/doc/files/doc/rdoc-style_css.html +665 -0
  124. data/doc/files/lib/milk/application_rb.html +90 -0
  125. data/doc/files/lib/milk/component_rb.html +90 -0
  126. data/doc/files/lib/milk/field_rb.html +90 -0
  127. data/doc/files/lib/milk/fields/component_array_rb.html +90 -0
  128. data/doc/files/lib/milk/fields/image_chooser_rb.html +90 -0
  129. data/doc/files/lib/milk/fields/markdown_field_rb.html +90 -0
  130. data/doc/files/lib/milk/fields/page_chooser_rb.html +90 -0
  131. data/doc/files/lib/milk/fields/sprite_chooser_rb.html +90 -0
  132. data/doc/files/lib/milk/fields/text_field_rb.html +90 -0
  133. data/doc/files/lib/milk/fields/xhtml_haml.html +107 -0
  134. data/doc/files/lib/milk/haxe_rb.html +90 -0
  135. data/doc/files/lib/milk/page_rb.html +90 -0
  136. data/doc/files/lib/milk/tasks_rb.html +104 -0
  137. data/doc/files/lib/milk/templates/bzrignore.html +97 -0
  138. data/doc/files/lib/milk/templates/rackup.html +119 -0
  139. data/doc/files/lib/milk/templates/rakefile.html +98 -0
  140. data/doc/files/lib/milk/templates/restart.html +97 -0
  141. data/doc/files/lib/milk_rb.html +97 -0
  142. data/doc/fr_class_index.html +27 -0
  143. data/doc/fr_file_index.html +169 -0
  144. data/doc/fr_method_index.html +33 -0
  145. data/doc/index.html +21 -0
  146. data/doc/rdoc-style.css +299 -0
  147. data/lib/milk.rb +58 -0
  148. data/lib/milk/application.rb +98 -0
  149. data/lib/milk/component.rb +73 -0
  150. data/lib/milk/field.rb +16 -0
  151. data/lib/milk/fields/component_array.rb +4 -0
  152. data/lib/milk/fields/image_chooser.rb +4 -0
  153. data/lib/milk/fields/markdown_field.rb +4 -0
  154. data/lib/milk/fields/page_chooser.rb +4 -0
  155. data/lib/milk/fields/sprite_chooser.rb +4 -0
  156. data/lib/milk/fields/text_field.rb +4 -0
  157. data/lib/milk/fields/xhtml.haml +10 -0
  158. data/lib/milk/haxe.rb +139 -0
  159. data/lib/milk/page.rb +45 -0
  160. data/lib/milk/tasks.rb +89 -0
  161. data/lib/milk/templates/bzrignore +3 -0
  162. data/lib/milk/templates/rackup +16 -0
  163. data/lib/milk/templates/rakefile +4 -0
  164. data/lib/milk/templates/restart +1 -0
  165. metadata +246 -26
  166. data/.document +0 -5
  167. data/.gitignore +0 -5
  168. data/README.rdoc +0 -7
  169. data/test/milk_test.rb +0 -7
  170. data/test/test_helper.rb +0 -10
@@ -0,0 +1,125 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>File: M000013.html [RDoc Documentation]</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
+ <link rel="stylesheet" href="../../../../.././rdoc-style.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ // <![CDATA[
11
+
12
+ function popupCode( url ) {
13
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
14
+ }
15
+
16
+ function toggleCode( id ) {
17
+ if ( document.getElementById )
18
+ elem = document.getElementById( id );
19
+ else if ( document.all )
20
+ elem = eval( "document.all." + id );
21
+ else
22
+ return false;
23
+
24
+ elemStyle = elem.style;
25
+
26
+ if ( elemStyle.display != "block" ) {
27
+ elemStyle.display = "block"
28
+ } else {
29
+ elemStyle.display = "none"
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ // Make codeblocks hidden by default
36
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
+
38
+ // ]]>
39
+ </script>
40
+
41
+ </head>
42
+ <body>
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>M000013.html</h1>
47
+ <table class="header-table">
48
+ <tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>doc/classes/Milk/Page.src/M000013.html
51
+
52
+ </td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>Last Update:</strong></td>
56
+ <td>2009-05-13 23:25:36 -0500</td>
57
+ </tr>
58
+ </table>
59
+ </div>
60
+ <!-- banner header -->
61
+
62
+ <div id="bodyContent">
63
+
64
+ <div id="contextContent">
65
+
66
+ <div id="description">
67
+ <p>
68
+ <!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8220;
69
+ &#8220;<a
70
+ href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>&#8220;>
71
+ <html xmlns=&#8220;<a
72
+ href="http://www.w3.org/1999/xhtml">www.w3.org/1999/xhtml</a>&#8220;
73
+ xml:lang=&#8220;en&#8221; lang=&#8220;en&#8221;> <head>
74
+ </p>
75
+ <pre>
76
+ &lt;title&gt;save_to_cache (Milk::Page)&lt;/title&gt;
77
+ &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
78
+ &lt;link rel=&quot;stylesheet&quot; href=&quot;../../.././rdoc-style.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
79
+ </pre>
80
+ <p>
81
+ </head> <body class=&#8220;standalone-code&#8221;>
82
+ </p>
83
+ <pre>
84
+ &lt;pre&gt;&lt;span class=&quot;ruby-comment cmt&quot;&gt;# File lib/milk/page.rb, line 31&lt;/span&gt;
85
+ &lt;span class=&quot;ruby-keyword kw&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;save_to_cache&lt;/span&gt;(&lt;span class=&quot;ruby-identifier&quot;&gt;html&lt;/span&gt;=&lt;span class=&quot;ruby-keyword kw&quot;&gt;nil&lt;/span&gt;)
86
+ &lt;span class=&quot;ruby-identifier&quot;&gt;html&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;||=&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;view&lt;/span&gt;
87
+ &lt;span class=&quot;ruby-identifier&quot;&gt;folder&lt;/span&gt; = &lt;span class=&quot;ruby-constant&quot;&gt;Milk&lt;/span&gt;&lt;span class=&quot;ruby-operator&quot;&gt;::&lt;/span&gt;&lt;span class=&quot;ruby-constant&quot;&gt;PUBLIC_DIR&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;ruby-value str&quot;&gt;&amp;quot;/cache/&amp;quot;&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;ruby-ivar&quot;&gt;@pagename&lt;/span&gt;
88
+ &lt;span class=&quot;ruby-identifier&quot;&gt;cache_file&lt;/span&gt; = &lt;span class=&quot;ruby-identifier&quot;&gt;folder&lt;/span&gt; &lt;span class=&quot;ruby-operator&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;ruby-value str&quot;&gt;&amp;quot;/index.html&amp;quot;&lt;/span&gt;
89
+
90
+ &lt;span class=&quot;ruby-comment cmt&quot;&gt;# Make the folder if it doesn't exist&lt;/span&gt;
91
+ &lt;span class=&quot;ruby-constant&quot;&gt;FileUtils&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;mkdir_p&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;folder&lt;/span&gt;
92
+ &lt;span class=&quot;ruby-identifier&quot;&gt;open&lt;/span&gt;(&lt;span class=&quot;ruby-identifier&quot;&gt;cache_file&lt;/span&gt;, &lt;span class=&quot;ruby-value str&quot;&gt;&amp;quot;w&amp;quot;&lt;/span&gt;) { &lt;span class=&quot;ruby-operator&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;ruby-identifier&quot;&gt;file&lt;/span&gt;&lt;span class=&quot;ruby-operator&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;file&lt;/span&gt;.&lt;span class=&quot;ruby-identifier&quot;&gt;write&lt;/span&gt; &lt;span class=&quot;ruby-identifier&quot;&gt;html&lt;/span&gt; }
93
+ &lt;span class=&quot;ruby-keyword kw&quot;&gt;end&lt;/span&gt;&lt;/pre&gt;
94
+ </pre>
95
+ <p>
96
+ </body> </html>
97
+ </p>
98
+
99
+ </div>
100
+
101
+ </div>
102
+
103
+
104
+ </div>
105
+
106
+ <!-- if includes -->
107
+
108
+ <div id="section">
109
+
110
+
111
+
112
+
113
+ <!-- if method_list -->
114
+
115
+
116
+
117
+
118
+ </div>
119
+
120
+ <div id="validator-badges">
121
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
122
+ </div>
123
+
124
+ </body>
125
+ </html>
@@ -0,0 +1,321 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>File: Milk.html [RDoc Documentation]</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ // <![CDATA[
11
+
12
+ function popupCode( url ) {
13
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
14
+ }
15
+
16
+ function toggleCode( id ) {
17
+ if ( document.getElementById )
18
+ elem = document.getElementById( id );
19
+ else if ( document.all )
20
+ elem = eval( "document.all." + id );
21
+ else
22
+ return false;
23
+
24
+ elemStyle = elem.style;
25
+
26
+ if ( elemStyle.display != "block" ) {
27
+ elemStyle.display = "block"
28
+ } else {
29
+ elemStyle.display = "none"
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ // Make codeblocks hidden by default
36
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
+
38
+ // ]]>
39
+ </script>
40
+
41
+ </head>
42
+ <body>
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>Milk.html</h1>
47
+ <table class="header-table">
48
+ <tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>doc/classes/Milk.html
51
+
52
+ </td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>Last Update:</strong></td>
56
+ <td>2009-05-13 23:25:37 -0500</td>
57
+ </tr>
58
+ </table>
59
+ </div>
60
+ <!-- banner header -->
61
+
62
+ <div id="bodyContent">
63
+
64
+ <div id="contextContent">
65
+
66
+ <div id="description">
67
+ <p>
68
+ <!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8220;
69
+ &#8220;<a
70
+ href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>&#8220;>
71
+ <html xmlns=&#8220;<a
72
+ href="http://www.w3.org/1999/xhtml">www.w3.org/1999/xhtml</a>&#8220;
73
+ xml:lang=&#8220;en&#8221; lang=&#8220;en&#8221;> <head>
74
+ </p>
75
+ <pre>
76
+ &lt;title&gt;Module: Milk [RDoc Documentation]&lt;/title&gt;
77
+ &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
78
+ &lt;meta http-equiv=&quot;Content-Script-Type&quot; content=&quot;text/javascript&quot; /&gt;
79
+ &lt;link rel=&quot;stylesheet&quot; href=&quot;.././rdoc-style.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
80
+ &lt;script type=&quot;text/javascript&quot;&gt;
81
+ // &lt;![CDATA[
82
+
83
+ function popupCode( url ) {
84
+ window.open(url, &quot;Code&quot;, &quot;resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400&quot;)
85
+ }
86
+
87
+ function toggleCode( id ) {
88
+ if ( document.getElementById )
89
+ elem = document.getElementById( id );
90
+ else if ( document.all )
91
+ elem = eval( &quot;document.all.&quot; + id );
92
+ else
93
+ return false;
94
+
95
+ elemStyle = elem.style;
96
+
97
+ if ( elemStyle.display != &quot;block&quot; ) {
98
+ elemStyle.display = &quot;block&quot;
99
+ } else {
100
+ elemStyle.display = &quot;none&quot;
101
+ }
102
+
103
+ return true;
104
+ }
105
+
106
+ // Make codeblocks hidden by default
107
+ document.writeln( &quot;&lt;style type=\&quot;text/css\&quot;&gt;div.method-source-code { display: none }&lt;\/style&gt;&quot; )
108
+
109
+ // ]]&gt;
110
+ &lt;/script&gt;
111
+ </pre>
112
+ <p>
113
+ </head> <body>
114
+ </p>
115
+ <pre>
116
+ &lt;div id=&quot;classHeader&quot;&gt;
117
+ &lt;table class=&quot;header-table&quot;&gt;
118
+ &lt;tr class=&quot;top-aligned-row&quot;&gt;
119
+ &lt;td&gt;&lt;strong&gt;Module&lt;/strong&gt;&lt;/td&gt;
120
+ &lt;td class=&quot;class-name-in-header&quot;&gt;Milk&lt;/td&gt;
121
+ &lt;/tr&gt;
122
+ &lt;tr class=&quot;top-aligned-row&quot;&gt;
123
+ &lt;td&gt;&lt;strong&gt;In:&lt;/strong&gt;&lt;/td&gt;
124
+ &lt;td&gt;
125
+
126
+ &lt;a href=&quot;../files/lib/milk_rb.html&quot;&gt;
127
+
128
+ lib/milk.rb
129
+
130
+ &lt;/a&gt;
131
+
132
+ &lt;br /&gt;
133
+
134
+ &lt;a href=&quot;../files/lib/milk/field_rb.html&quot;&gt;
135
+
136
+ lib/milk/field.rb
137
+
138
+ &lt;/a&gt;
139
+
140
+ &lt;br /&gt;
141
+
142
+ &lt;a href=&quot;../files/lib/milk/haxe_rb.html&quot;&gt;
143
+
144
+ lib/milk/haxe.rb
145
+
146
+ &lt;/a&gt;
147
+
148
+ &lt;br /&gt;
149
+
150
+ &lt;a href=&quot;../files/lib/milk/application_rb.html&quot;&gt;
151
+
152
+ lib/milk/application.rb
153
+
154
+ &lt;/a&gt;
155
+
156
+ &lt;br /&gt;
157
+
158
+ &lt;a href=&quot;../files/lib/milk/page_rb.html&quot;&gt;
159
+
160
+ lib/milk/page.rb
161
+
162
+ &lt;/a&gt;
163
+
164
+ &lt;br /&gt;
165
+
166
+ &lt;a href=&quot;../files/lib/milk/component_rb.html&quot;&gt;
167
+
168
+ lib/milk/component.rb
169
+
170
+ &lt;/a&gt;
171
+
172
+ &lt;br /&gt;
173
+
174
+ &lt;/td&gt;
175
+ &lt;/tr&gt;
176
+
177
+ &lt;/table&gt;
178
+ &lt;/div&gt;
179
+ &lt;!-- banner header --&gt;
180
+
181
+ &lt;div id=&quot;bodyContent&quot;&gt;
182
+
183
+ &lt;div id=&quot;contextContent&quot;&gt;
184
+
185
+ &lt;div id=&quot;description&quot;&gt;
186
+ &lt;p&gt;
187
+ </pre>
188
+ <p>
189
+ Set up our main namespace with autoloaded parts </p>
190
+ </p>
191
+ <pre>
192
+ &lt;/div&gt;
193
+
194
+ &lt;/div&gt;
195
+
196
+ &lt;/div&gt;
197
+
198
+ &lt;!-- if includes --&gt;
199
+
200
+ &lt;div id=&quot;section&quot;&gt;
201
+
202
+ &lt;div id=&quot;class-list&quot;&gt;
203
+ &lt;h3 class=&quot;section-bar&quot;&gt;Classes and Modules&lt;/h3&gt;
204
+
205
+ Module &lt;a href=&quot;Milk/Fields.html&quot; class=&quot;link&quot;&gt;Milk::Fields&lt;/a&gt;&lt;br /&gt;
206
+ </pre>
207
+ <p>
208
+ Class <a href=&#8220;Milk/Application.html&#8220;
209
+ class=&#8220;link&#8221;>Milk::Application</a><br /> Class <a
210
+ href=&#8220;Milk/Component.html&#8220;
211
+ class=&#8220;link&#8221;>Milk::Component</a><br /> Class <a
212
+ href=&#8220;Milk/ExternalCompilerError.html&#8220;
213
+ class=&#8220;link&#8221;>Milk::ExternalCompilerError</a><br /> Class <a
214
+ href=&#8220;Milk/Field.html&#8220;
215
+ class=&#8220;link&#8221;>Milk::Field</a><br /> Class <a
216
+ href=&#8220;Milk/Haxe.html&#8220;
217
+ class=&#8220;link&#8221;>Milk::Haxe</a><br /> Class <a
218
+ href=&#8220;Milk/Page.html&#8220;
219
+ class=&#8220;link&#8221;>Milk::Page</a><br /> Class <a
220
+ href=&#8220;Milk/PageNotFoundError.html&#8220;
221
+ class=&#8220;link&#8221;>Milk::PageNotFoundError</a><br />
222
+ </p>
223
+ <pre>
224
+ &lt;/div&gt;
225
+
226
+ &lt;div id=&quot;constants-list&quot;&gt;
227
+ &lt;h3 class=&quot;section-bar&quot;&gt;Constants&lt;/h3&gt;
228
+
229
+ &lt;div class=&quot;name-list&quot;&gt;
230
+ &lt;table summary=&quot;Constants&quot;&gt;
231
+
232
+ &lt;tr class=&quot;top-aligned-row context-row&quot;&gt;
233
+ &lt;td class=&quot;context-item-name&quot;&gt;VERSION&lt;/td&gt;
234
+ &lt;td&gt;=&lt;/td&gt;
235
+ &lt;td class=&quot;context-item-value&quot;&gt;'0.3'&lt;/td&gt;
236
+
237
+ &lt;/tr&gt;
238
+
239
+ &lt;tr class=&quot;top-aligned-row context-row&quot;&gt;
240
+ &lt;td class=&quot;context-item-name&quot;&gt;LIB_DIR&lt;/td&gt;
241
+ &lt;td&gt;=&lt;/td&gt;
242
+ &lt;td class=&quot;context-item-value&quot;&gt;File.dirname(__FILE__)&lt;/td&gt;
243
+
244
+ &lt;/tr&gt;
245
+
246
+ &lt;tr class=&quot;top-aligned-row context-row&quot;&gt;
247
+ &lt;td class=&quot;context-item-name&quot;&gt;COMPONENTS_DIR&lt;/td&gt;
248
+ &lt;td&gt;=&lt;/td&gt;
249
+ &lt;td class=&quot;context-item-value&quot;&gt;::MILK_ROOT + &amp;quot;/design&amp;quot;&lt;/td&gt;
250
+
251
+ &lt;/tr&gt;
252
+
253
+ &lt;tr class=&quot;top-aligned-row context-row&quot;&gt;
254
+ &lt;td class=&quot;context-item-name&quot;&gt;PAGES_DIR&lt;/td&gt;
255
+ &lt;td&gt;=&lt;/td&gt;
256
+ &lt;td class=&quot;context-item-value&quot;&gt;::MILK_ROOT + &amp;quot;/pages&amp;quot;&lt;/td&gt;
257
+
258
+ &lt;/tr&gt;
259
+
260
+ &lt;tr class=&quot;top-aligned-row context-row&quot;&gt;
261
+ &lt;td class=&quot;context-item-name&quot;&gt;PUBLIC_DIR&lt;/td&gt;
262
+ &lt;td&gt;=&lt;/td&gt;
263
+ &lt;td class=&quot;context-item-value&quot;&gt;::MILK_ROOT + &amp;quot;/public&amp;quot;&lt;/td&gt;
264
+
265
+ &lt;/tr&gt;
266
+
267
+ &lt;tr class=&quot;top-aligned-row context-row&quot;&gt;
268
+ &lt;td class=&quot;context-item-name&quot;&gt;BIN_DIR&lt;/td&gt;
269
+ &lt;td&gt;=&lt;/td&gt;
270
+ &lt;td class=&quot;context-item-value&quot;&gt;File.absolute_path(File.dirname(__FILE__)+&amp;quot;/../../local/bin&amp;quot;)&lt;/td&gt;
271
+
272
+ &lt;/tr&gt;
273
+
274
+ &lt;/table&gt;
275
+ &lt;/div&gt;
276
+ &lt;/div&gt;
277
+
278
+ &lt;!-- if method_list --&gt;
279
+
280
+ &lt;/div&gt;
281
+ </pre>
282
+ <p>
283
+ <div id=&#8220;validator-badges&#8221;>
284
+ </p>
285
+ <pre>
286
+ &lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://validator.w3.org/check/referer&quot;&gt;[Validate]&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
287
+ </pre>
288
+ <p>
289
+ </div>
290
+ </p>
291
+ <p>
292
+ </body> </html>
293
+ </p>
294
+
295
+ </div>
296
+
297
+ </div>
298
+
299
+
300
+ </div>
301
+
302
+ <!-- if includes -->
303
+
304
+ <div id="section">
305
+
306
+
307
+
308
+
309
+ <!-- if method_list -->
310
+
311
+
312
+
313
+
314
+ </div>
315
+
316
+ <div id="validator-badges">
317
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
318
+ </div>
319
+
320
+ </body>
321
+ </html>
@@ -0,0 +1,334 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>File: Object.html [RDoc Documentation]</title>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ // <![CDATA[
11
+
12
+ function popupCode( url ) {
13
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
14
+ }
15
+
16
+ function toggleCode( id ) {
17
+ if ( document.getElementById )
18
+ elem = document.getElementById( id );
19
+ else if ( document.all )
20
+ elem = eval( "document.all." + id );
21
+ else
22
+ return false;
23
+
24
+ elemStyle = elem.style;
25
+
26
+ if ( elemStyle.display != "block" ) {
27
+ elemStyle.display = "block"
28
+ } else {
29
+ elemStyle.display = "none"
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ // Make codeblocks hidden by default
36
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
+
38
+ // ]]>
39
+ </script>
40
+
41
+ </head>
42
+ <body>
43
+
44
+
45
+ <div id="fileHeader">
46
+ <h1>Object.html</h1>
47
+ <table class="header-table">
48
+ <tr class="top-aligned-row">
49
+ <td><strong>Path:</strong></td>
50
+ <td>doc/classes/Object.html
51
+
52
+ </td>
53
+ </tr>
54
+ <tr class="top-aligned-row">
55
+ <td><strong>Last Update:</strong></td>
56
+ <td>2009-05-13 23:25:37 -0500</td>
57
+ </tr>
58
+ </table>
59
+ </div>
60
+ <!-- banner header -->
61
+
62
+ <div id="bodyContent">
63
+
64
+ <div id="contextContent">
65
+
66
+ <div id="description">
67
+ <p>
68
+ <!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8220;
69
+ &#8220;<a
70
+ href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>&#8220;>
71
+ <html xmlns=&#8220;<a
72
+ href="http://www.w3.org/1999/xhtml">www.w3.org/1999/xhtml</a>&#8220;
73
+ xml:lang=&#8220;en&#8221; lang=&#8220;en&#8221;> <head>
74
+ </p>
75
+ <pre>
76
+ &lt;title&gt;Class: Object [RDoc Documentation]&lt;/title&gt;
77
+ &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
78
+ &lt;meta http-equiv=&quot;Content-Script-Type&quot; content=&quot;text/javascript&quot; /&gt;
79
+ &lt;link rel=&quot;stylesheet&quot; href=&quot;.././rdoc-style.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
80
+ &lt;script type=&quot;text/javascript&quot;&gt;
81
+ // &lt;![CDATA[
82
+
83
+ function popupCode( url ) {
84
+ window.open(url, &quot;Code&quot;, &quot;resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400&quot;)
85
+ }
86
+
87
+ function toggleCode( id ) {
88
+ if ( document.getElementById )
89
+ elem = document.getElementById( id );
90
+ else if ( document.all )
91
+ elem = eval( &quot;document.all.&quot; + id );
92
+ else
93
+ return false;
94
+
95
+ elemStyle = elem.style;
96
+
97
+ if ( elemStyle.display != &quot;block&quot; ) {
98
+ elemStyle.display = &quot;block&quot;
99
+ } else {
100
+ elemStyle.display = &quot;none&quot;
101
+ }
102
+
103
+ return true;
104
+ }
105
+
106
+ // Make codeblocks hidden by default
107
+ document.writeln( &quot;&lt;style type=\&quot;text/css\&quot;&gt;div.method-source-code { display: none }&lt;\/style&gt;&quot; )
108
+
109
+ // ]]&gt;
110
+ &lt;/script&gt;
111
+ </pre>
112
+ <p>
113
+ </head> <body>
114
+ </p>
115
+ <pre>
116
+ &lt;div id=&quot;classHeader&quot;&gt;
117
+ &lt;table class=&quot;header-table&quot;&gt;
118
+ &lt;tr class=&quot;top-aligned-row&quot;&gt;
119
+ &lt;td&gt;&lt;strong&gt;Class&lt;/strong&gt;&lt;/td&gt;
120
+ &lt;td class=&quot;class-name-in-header&quot;&gt;Object&lt;/td&gt;
121
+ &lt;/tr&gt;
122
+ &lt;tr class=&quot;top-aligned-row&quot;&gt;
123
+ &lt;td&gt;&lt;strong&gt;In:&lt;/strong&gt;&lt;/td&gt;
124
+ &lt;td&gt;
125
+
126
+ &lt;a href=&quot;../files/lib/milk_rb.html&quot;&gt;
127
+
128
+ lib/milk.rb
129
+
130
+ &lt;/a&gt;
131
+
132
+ &lt;br /&gt;
133
+
134
+ &lt;/td&gt;
135
+ &lt;/tr&gt;
136
+
137
+ &lt;tr class=&quot;top-aligned-row&quot;&gt;
138
+ &lt;td&gt;&lt;strong&gt;Parent:&lt;/strong&gt;&lt;/td&gt;
139
+ &lt;td&gt;
140
+
141
+ &lt;a href=&quot;Object.html&quot;&gt;
142
+
143
+ Object
144
+
145
+ &lt;/a&gt;
146
+
147
+ &lt;/td&gt;
148
+ &lt;/tr&gt;
149
+
150
+ &lt;/table&gt;
151
+ &lt;/div&gt;
152
+ &lt;!-- banner header --&gt;
153
+
154
+ &lt;div id=&quot;bodyContent&quot;&gt;
155
+
156
+ &lt;div id=&quot;contextContent&quot;&gt;
157
+
158
+ &lt;div id=&quot;description&quot;&gt;
159
+ &lt;p&gt;
160
+ </pre>
161
+ <p>
162
+ Include metaid for easy metaclass management </p>
163
+ </p>
164
+ <pre>
165
+ &lt;/div&gt;
166
+
167
+ &lt;/div&gt;
168
+
169
+ &lt;div id=&quot;method-list&quot;&gt;
170
+ &lt;h3 class=&quot;section-bar&quot;&gt;Methods&lt;/h3&gt;
171
+
172
+ &lt;div class=&quot;name-list&quot;&gt;
173
+
174
+ &lt;a href=&quot;#M000004&quot;&gt;class_def&lt;/a&gt;&amp;nbsp;&amp;nbsp;
175
+
176
+ &lt;a href=&quot;#M000003&quot;&gt;meta_def&lt;/a&gt;&amp;nbsp;&amp;nbsp;
177
+
178
+ &lt;a href=&quot;#M000002&quot;&gt;meta_eval&lt;/a&gt;&amp;nbsp;&amp;nbsp;
179
+
180
+ &lt;a href=&quot;#M000001&quot;&gt;metaclass&lt;/a&gt;&amp;nbsp;&amp;nbsp;
181
+
182
+ &lt;/div&gt;
183
+ &lt;/div&gt;
184
+
185
+ &lt;/div&gt;
186
+
187
+ &lt;!-- if includes --&gt;
188
+
189
+ &lt;div id=&quot;section&quot;&gt;
190
+
191
+ &lt;!-- if method_list --&gt;
192
+
193
+ &lt;div id=&quot;methods&quot;&gt;
194
+
195
+ &lt;h3 class=&quot;section-bar&quot;&gt;Public Instance methods&lt;/h3&gt;
196
+
197
+ &lt;div id=&quot;method-M000004&quot; class=&quot;method-detail&quot;&gt;
198
+ &lt;a name=&quot;M000004&quot;&gt;&lt;/a&gt;
199
+
200
+ &lt;div class=&quot;method-heading&quot;&gt;
201
+
202
+ &lt;a href=&quot;Object.src/M000004.html&quot; target=&quot;Code&quot; class=&quot;method-signature&quot;
203
+ onclick=&quot;popupCode('Object.src/M000004.html');return false;&quot;&gt;
204
+
205
+ &lt;span class=&quot;method-name&quot;&gt;class_def&lt;/span&gt;&lt;span class=&quot;method-args&quot;&gt;(name, &amp;amp;blk)&lt;/span&gt;
206
+
207
+ &lt;/a&gt;
208
+
209
+ &lt;/div&gt;
210
+
211
+ &lt;div class=&quot;method-description&quot;&gt;
212
+
213
+ &lt;p&gt;
214
+ </pre>
215
+ <p>
216
+ Defines an instance method within a class </p>
217
+ </p>
218
+ <pre>
219
+ &lt;/div&gt;
220
+ &lt;/div&gt;
221
+
222
+ &lt;div id=&quot;method-M000003&quot; class=&quot;method-detail&quot;&gt;
223
+ &lt;a name=&quot;M000003&quot;&gt;&lt;/a&gt;
224
+
225
+ &lt;div class=&quot;method-heading&quot;&gt;
226
+
227
+ &lt;a href=&quot;Object.src/M000003.html&quot; target=&quot;Code&quot; class=&quot;method-signature&quot;
228
+ onclick=&quot;popupCode('Object.src/M000003.html');return false;&quot;&gt;
229
+
230
+ &lt;span class=&quot;method-name&quot;&gt;meta_def&lt;/span&gt;&lt;span class=&quot;method-args&quot;&gt;(name, &amp;amp;blk)&lt;/span&gt;
231
+
232
+ &lt;/a&gt;
233
+
234
+ &lt;/div&gt;
235
+
236
+ &lt;div class=&quot;method-description&quot;&gt;
237
+
238
+ &lt;p&gt;
239
+ </pre>
240
+ <p>
241
+ Adds methods to a metaclass </p>
242
+ </p>
243
+ <pre>
244
+ &lt;/div&gt;
245
+ &lt;/div&gt;
246
+
247
+ &lt;div id=&quot;method-M000002&quot; class=&quot;method-detail&quot;&gt;
248
+ &lt;a name=&quot;M000002&quot;&gt;&lt;/a&gt;
249
+
250
+ &lt;div class=&quot;method-heading&quot;&gt;
251
+
252
+ &lt;a href=&quot;Object.src/M000002.html&quot; target=&quot;Code&quot; class=&quot;method-signature&quot;
253
+ onclick=&quot;popupCode('Object.src/M000002.html');return false;&quot;&gt;
254
+
255
+ &lt;span class=&quot;method-name&quot;&gt;meta_eval&lt;/span&gt;&lt;span class=&quot;method-args&quot;&gt;(&amp;amp;blk;)&lt;/span&gt;
256
+
257
+ &lt;/a&gt;
258
+
259
+ &lt;/div&gt;
260
+
261
+ &lt;div class=&quot;method-description&quot;&gt;
262
+
263
+ &lt;/div&gt;
264
+ &lt;/div&gt;
265
+
266
+ &lt;div id=&quot;method-M000001&quot; class=&quot;method-detail&quot;&gt;
267
+ &lt;a name=&quot;M000001&quot;&gt;&lt;/a&gt;
268
+
269
+ &lt;div class=&quot;method-heading&quot;&gt;
270
+
271
+ &lt;a href=&quot;Object.src/M000001.html&quot; target=&quot;Code&quot; class=&quot;method-signature&quot;
272
+ onclick=&quot;popupCode('Object.src/M000001.html');return false;&quot;&gt;
273
+
274
+ &lt;span class=&quot;method-name&quot;&gt;metaclass&lt;/span&gt;&lt;span class=&quot;method-args&quot;&gt;()&lt;/span&gt;
275
+
276
+ &lt;/a&gt;
277
+
278
+ &lt;/div&gt;
279
+
280
+ &lt;div class=&quot;method-description&quot;&gt;
281
+
282
+ &lt;p&gt;
283
+ </pre>
284
+ <p>
285
+ The hidden singleton lurks behind everyone </p>
286
+ </p>
287
+ <pre>
288
+ &lt;/div&gt;
289
+ &lt;/div&gt;
290
+
291
+ &lt;/div&gt;
292
+
293
+ &lt;/div&gt;
294
+ </pre>
295
+ <p>
296
+ <div id=&#8220;validator-badges&#8221;>
297
+ </p>
298
+ <pre>
299
+ &lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://validator.w3.org/check/referer&quot;&gt;[Validate]&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
300
+ </pre>
301
+ <p>
302
+ </div>
303
+ </p>
304
+ <p>
305
+ </body> </html>
306
+ </p>
307
+
308
+ </div>
309
+
310
+ </div>
311
+
312
+
313
+ </div>
314
+
315
+ <!-- if includes -->
316
+
317
+ <div id="section">
318
+
319
+
320
+
321
+
322
+ <!-- if method_list -->
323
+
324
+
325
+
326
+
327
+ </div>
328
+
329
+ <div id="validator-badges">
330
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
331
+ </div>
332
+
333
+ </body>
334
+ </html>