utopia 2.5.5 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -2
  3. data/Gemfile +1 -0
  4. data/Rakefile +2 -0
  5. data/docs/code/Utopia.html +439 -433
  6. data/docs/code/Utopia/Command.html +201 -195
  7. data/docs/code/Utopia/Command/Environment.html +244 -244
  8. data/docs/code/Utopia/Command/Server.html +202 -202
  9. data/docs/code/Utopia/Command/Server/Create.html +192 -192
  10. data/docs/code/Utopia/Command/Server/Update.html +235 -235
  11. data/docs/code/Utopia/Command/Site.html +269 -263
  12. data/docs/code/Utopia/Command/Site/Create.html +192 -192
  13. data/docs/code/Utopia/Command/Site/Update.html +246 -246
  14. data/docs/code/Utopia/Command/Top.html +244 -244
  15. data/docs/code/Utopia/Content.html +636 -630
  16. data/docs/code/Utopia/Content/Document.html +1411 -1407
  17. data/docs/code/Utopia/Content/Document/State.html +1048 -1048
  18. data/docs/code/Utopia/Content/Link.html +1023 -1023
  19. data/docs/code/Utopia/Content/Links.html +629 -623
  20. data/docs/code/Utopia/Content/MarkupParser.html +702 -702
  21. data/docs/code/Utopia/Content/MarkupParser/ParsedTag.html +375 -375
  22. data/docs/code/Utopia/Content/MarkupParser/UnbalancedTagError.html +523 -523
  23. data/docs/code/Utopia/Content/Namespace.html +416 -416
  24. data/docs/code/Utopia/Content/Node.html +952 -952
  25. data/docs/code/Utopia/Content/Node/Context.html +790 -790
  26. data/docs/code/Utopia/Content/Response.html +686 -686
  27. data/docs/code/Utopia/Content/SymbolicHash.html +365 -365
  28. data/docs/code/Utopia/Content/Tags.html +134 -134
  29. data/docs/code/Utopia/Content/UnbalancedTagError.html +270 -270
  30. data/docs/code/Utopia/ContentLength.html +298 -294
  31. data/docs/code/Utopia/Controller.html +657 -651
  32. data/docs/code/Utopia/Controller/Actions.html +260 -260
  33. data/docs/code/Utopia/Controller/Actions/Action.html +785 -779
  34. data/docs/code/Utopia/Controller/Actions/ClassMethods.html +360 -360
  35. data/docs/code/Utopia/Controller/Base.html +989 -989
  36. data/docs/code/Utopia/Controller/Respond.html +264 -254
  37. data/docs/code/Utopia/Controller/Respond/ClassMethods.html +207 -207
  38. data/docs/code/Utopia/Controller/Respond/Converter.html +219 -219
  39. data/docs/code/Utopia/Controller/Respond/Converter/Callback.html +425 -425
  40. data/docs/code/Utopia/Controller/Respond/Converter/ToJSON.html +323 -317
  41. data/docs/code/Utopia/Controller/Respond/Passthrough.html +266 -260
  42. data/docs/code/Utopia/Controller/Respond/Responder.html +449 -443
  43. data/docs/code/Utopia/Controller/Rewrite.html +260 -260
  44. data/docs/code/Utopia/Controller/Rewrite/ClassMethods.html +216 -216
  45. data/docs/code/Utopia/Controller/Rewrite/ExtractPrefixRule.html +303 -303
  46. data/docs/code/Utopia/Controller/Rewrite/Rewriter.html +402 -402
  47. data/docs/code/Utopia/Controller/Rewrite/Rule.html +193 -193
  48. data/docs/code/Utopia/Controller/Variables.html +428 -428
  49. data/docs/code/Utopia/Controllers.html +216 -216
  50. data/docs/code/Utopia/Exceptions.html +125 -125
  51. data/docs/code/Utopia/Exceptions/Handler.html +405 -405
  52. data/docs/code/Utopia/Exceptions/Mailer.html +400 -394
  53. data/docs/code/Utopia/Extensions.html +116 -116
  54. data/docs/code/Utopia/Extensions/ArraySplit.html +164 -164
  55. data/docs/code/Utopia/Extensions/DateTimeComparison.html +173 -173
  56. data/docs/code/Utopia/Extensions/TimeDateComparison.html +173 -173
  57. data/docs/code/Utopia/HTTP.html +193 -187
  58. data/docs/code/Utopia/HTTP/Status.html +355 -355
  59. data/docs/code/Utopia/Locale.html +522 -522
  60. data/docs/code/Utopia/Localization.html +886 -880
  61. data/docs/code/Utopia/Localization/Wrapper.html +403 -403
  62. data/docs/code/Utopia/Logger.html +185 -185
  63. data/docs/code/Utopia/Logger/CompactFormatter.html +290 -290
  64. data/docs/code/Utopia/Path.html +2562 -2556
  65. data/docs/code/Utopia/Path/Matcher.html +395 -395
  66. data/docs/code/Utopia/Path/Matcher/MatchData.html +418 -418
  67. data/docs/code/Utopia/Redirection.html +148 -142
  68. data/docs/code/Utopia/Redirection/ClientRedirect.html +594 -594
  69. data/docs/code/Utopia/Redirection/DirectoryIndex.html +265 -265
  70. data/docs/code/Utopia/Redirection/Errors.html +391 -385
  71. data/docs/code/Utopia/Redirection/Moved.html +265 -265
  72. data/docs/code/Utopia/Redirection/RequestFailure.html +201 -201
  73. data/docs/code/Utopia/Redirection/Rewrite.html +265 -265
  74. data/docs/code/Utopia/Session.html +723 -717
  75. data/docs/code/Utopia/Session/LazyHash.html +709 -709
  76. data/docs/code/Utopia/Setup.html +783 -777
  77. data/docs/code/Utopia/Static.html +516 -510
  78. data/docs/code/Utopia/Static/LocalFile.html +875 -869
  79. data/docs/code/Utopia/Static/MimeTypeLoader.html +427 -427
  80. data/docs/code/Utopia/Static/MimeTypeLoader/ExpansionError.html +123 -123
  81. data/docs/code/_index.html +757 -757
  82. data/docs/code/class_list.html +51 -51
  83. data/docs/code/css/full_list.css +58 -58
  84. data/docs/code/css/style.css +496 -499
  85. data/docs/code/file.README.html +72 -70
  86. data/docs/code/file_list.html +56 -56
  87. data/docs/code/frames.html +17 -17
  88. data/docs/code/index.html +72 -70
  89. data/docs/code/js/app.js +292 -248
  90. data/docs/code/js/full_list.js +216 -216
  91. data/docs/code/js/jquery.js +3 -3
  92. data/docs/code/method_list.html +3443 -3443
  93. data/docs/code/top-level-namespace.html +109 -109
  94. data/docs/index.html +2 -2
  95. data/docs/wiki.html +2 -2
  96. data/docs/wiki/edit.html +1 -1
  97. data/docs/wiki/javascript.html +153 -0
  98. data/docs/wiki/javascript/index.html +153 -0
  99. data/documentation/.yarnrc +1 -0
  100. data/documentation/Gemfile +1 -0
  101. data/documentation/config/environment.rb +1 -0
  102. data/documentation/pages/wiki/content.md +1 -1
  103. data/documentation/pages/wiki/javascript/content.md +75 -0
  104. data/documentation/pages/wiki/links.yaml +3 -1
  105. data/lib/utopia/command/site.rb +4 -4
  106. data/lib/utopia/version.rb +1 -1
  107. data/setup/site/.yarnrc +1 -0
  108. data/setup/site/tasks/yarn.rake +32 -0
  109. data/spec/utopia/command_spec.rb +2 -2
  110. metadata +8 -9
  111. data/docs/wiki/bower-integration.html +0 -74
  112. data/docs/wiki/bower-integration/index.html +0 -74
  113. data/documentation/.bowerrc +0 -4
  114. data/documentation/pages/wiki/bower-integration/content.md +0 -25
  115. data/setup/.bowerrc +0 -3
  116. data/setup/site/.bowerrc +0 -4
  117. data/setup/site/tasks/bower.rake +0 -45
@@ -1,458 +1,464 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: Utopia::Content
8
-
9
- &mdash; Documentation by YARD 0.9.12
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "Utopia::Content";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (C)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../Utopia.html" title="Utopia (module)">Utopia</a></span></span>
41
- &raquo;
42
- <span class="title">Content</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: Utopia::Content
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Object</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">Utopia::Content</li>
78
-
79
- </ul>
80
- <a href="#" class="inheritanceTree">show all</a>
81
-
82
- </dd>
83
- </dl>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- <dl>
96
- <dt>Defined in:</dt>
97
- <dd>lib/utopia/content.rb<span class="defines">,<br />
98
- lib/utopia/content/link.rb,<br /> lib/utopia/content/node.rb,<br /> lib/utopia/content/tags.rb,<br /> lib/utopia/content/links.rb,<br /> lib/utopia/content/markup.rb,<br /> lib/utopia/content/document.rb,<br /> lib/utopia/content/response.rb,<br /> lib/utopia/content/namespace.rb</span>
99
- </dd>
100
- </dl>
101
-
102
- </div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Utopia::Content
8
+
9
+ &mdash; Documentation by YARD 0.9.18
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "Utopia::Content";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (C)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Utopia.html" title="Utopia (module)">Utopia</a></span></span>
41
+ &raquo;
42
+ <span class="title">Content</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Utopia::Content
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">Utopia::Content</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/utopia/content.rb<span class="defines">,<br />
98
+ lib/utopia/content/link.rb,<br /> lib/utopia/content/node.rb,<br /> lib/utopia/content/tags.rb,<br /> lib/utopia/content/links.rb,<br /> lib/utopia/content/markup.rb,<br /> lib/utopia/content/document.rb,<br /> lib/utopia/content/response.rb,<br /> lib/utopia/content/namespace.rb</span>
99
+ </dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
106
  <p>A middleware which serves dynamically generated content based on markup files.</p>
107
-
108
-
109
- </div>
110
- </div>
111
- <div class="tags">
112
-
113
-
114
- </div><h2>Defined Under Namespace</h2>
115
- <p class="children">
116
-
117
-
118
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="Content/Namespace.html" title="Utopia::Content::Namespace (module)">Namespace</a></span>, <span class='object_link'><a href="Content/Tags.html" title="Utopia::Content::Tags (module)">Tags</a></span>
119
-
120
-
121
-
122
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Content/Document.html" title="Utopia::Content::Document (class)">Document</a></span>, <span class='object_link'><a href="Content/Link.html" title="Utopia::Content::Link (class)">Link</a></span>, <span class='object_link'><a href="Content/Links.html" title="Utopia::Content::Links (class)">Links</a></span>, <span class='object_link'><a href="Content/MarkupParser.html" title="Utopia::Content::MarkupParser (class)">MarkupParser</a></span>, <span class='object_link'><a href="Content/Node.html" title="Utopia::Content::Node (class)">Node</a></span>, <span class='object_link'><a href="Content/Response.html" title="Utopia::Content::Response (class)">Response</a></span>, <span class='object_link'><a href="Content/SymbolicHash.html" title="Utopia::Content::SymbolicHash (class)">SymbolicHash</a></span>, <span class='object_link'><a href="Content/UnbalancedTagError.html" title="Utopia::Content::UnbalancedTagError (class)">UnbalancedTagError</a></span>
123
-
124
-
125
- </p>
126
-
127
- <h2>Constant Summary</h2>
128
- <dl class="constants">
129
-
130
- <dt id="INDEX-constant" class="">INDEX =
131
-
132
- </dt>
133
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>index</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
134
-
135
- <dt id="CONTENT_NAMESPACE-constant" class="">CONTENT_NAMESPACE =
136
-
137
- </dt>
138
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>content</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
139
-
140
- <dt id="UTOPIA_NAMESPACE-constant" class="">UTOPIA_NAMESPACE =
141
-
142
- </dt>
143
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>utopia</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
144
-
145
- <dt id="DEFERRED_TAG_NAME-constant" class="">DEFERRED_TAG_NAME =
146
-
147
- </dt>
148
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>utopia:deferred</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
149
-
150
- <dt id="CONTENT_TAG_NAME-constant" class="">CONTENT_TAG_NAME =
151
-
152
- </dt>
153
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>utopia:content</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
154
-
155
- <dt id="XNODE_EXTENSION-constant" class="">XNODE_EXTENSION =
156
- <div class="docstring">
157
- <div class="discussion">
107
+
108
+
109
+ </div>
110
+ </div>
111
+ <div class="tags">
112
+
113
+
114
+ </div><h2>Defined Under Namespace</h2>
115
+ <p class="children">
116
+
117
+
118
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="Content/Namespace.html" title="Utopia::Content::Namespace (module)">Namespace</a></span>, <span class='object_link'><a href="Content/Tags.html" title="Utopia::Content::Tags (module)">Tags</a></span>
119
+
120
+
121
+
122
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Content/Document.html" title="Utopia::Content::Document (class)">Document</a></span>, <span class='object_link'><a href="Content/Link.html" title="Utopia::Content::Link (class)">Link</a></span>, <span class='object_link'><a href="Content/Links.html" title="Utopia::Content::Links (class)">Links</a></span>, <span class='object_link'><a href="Content/MarkupParser.html" title="Utopia::Content::MarkupParser (class)">MarkupParser</a></span>, <span class='object_link'><a href="Content/Node.html" title="Utopia::Content::Node (class)">Node</a></span>, <span class='object_link'><a href="Content/Response.html" title="Utopia::Content::Response (class)">Response</a></span>, <span class='object_link'><a href="Content/SymbolicHash.html" title="Utopia::Content::SymbolicHash (class)">SymbolicHash</a></span>, <span class='object_link'><a href="Content/UnbalancedTagError.html" title="Utopia::Content::UnbalancedTagError (class)">UnbalancedTagError</a></span>
123
+
124
+
125
+ </p>
126
+
127
+
128
+ <h2>
129
+ Constant Summary
130
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
131
+ </h2>
132
+
133
+ <dl class="constants">
134
+
135
+ <dt id="INDEX-constant" class="">INDEX =
136
+
137
+ </dt>
138
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>index</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
139
+
140
+ <dt id="CONTENT_NAMESPACE-constant" class="">CONTENT_NAMESPACE =
141
+
142
+ </dt>
143
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>content</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
144
+
145
+ <dt id="UTOPIA_NAMESPACE-constant" class="">UTOPIA_NAMESPACE =
146
+
147
+ </dt>
148
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>utopia</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
149
+
150
+ <dt id="DEFERRED_TAG_NAME-constant" class="">DEFERRED_TAG_NAME =
151
+
152
+ </dt>
153
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>utopia:deferred</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
154
+
155
+ <dt id="CONTENT_TAG_NAME-constant" class="">CONTENT_TAG_NAME =
156
+
157
+ </dt>
158
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>utopia:content</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
159
+
160
+ <dt id="XNODE_EXTENSION-constant" class="">XNODE_EXTENSION =
161
+ <div class="docstring">
162
+ <div class="discussion">
158
163
  <p>The file extension for markup nodes on disk.</p>
159
-
160
-
161
- </div>
162
- </div>
163
- <div class="tags">
164
-
165
-
166
- </div>
167
- </dt>
168
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>.xnode</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
169
-
170
- <dt id="Tag-constant" class="">Tag =
171
-
172
- </dt>
173
- <dd><pre class="code"><span class='const'>Trenni</span><span class='op'>::</span><span class='const'>Tag</span></pre></dd>
174
-
175
- <dt id="EXPIRES-constant" class="">EXPIRES =
176
- <div class="docstring">
177
- <div class="discussion">
164
+
165
+
166
+ </div>
167
+ </div>
168
+ <div class="tags">
169
+
170
+
171
+ </div>
172
+ </dt>
173
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>.xnode</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
174
+
175
+ <dt id="Tag-constant" class="">Tag =
176
+
177
+ </dt>
178
+ <dd><pre class="code"><span class='const'>Trenni</span><span class='op'>::</span><span class='const'>Tag</span></pre></dd>
179
+
180
+ <dt id="EXPIRES-constant" class="">EXPIRES =
181
+ <div class="docstring">
182
+ <div class="discussion">
178
183
  <p>Compatibility with older versions of rack:</p>
179
-
180
-
181
- </div>
182
- </div>
183
- <div class="tags">
184
-
185
-
186
- </div>
187
- </dt>
188
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Expires</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
189
-
190
- <dt id="CACHE_CONTROL-constant" class="">CACHE_CONTROL =
191
-
192
- </dt>
193
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Cache-Control</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
194
-
195
- <dt id="CONTENT_TYPE-constant" class="">CONTENT_TYPE =
196
-
197
- </dt>
198
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Content-Type</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
199
-
200
- <dt id="NO_CACHE-constant" class="">NO_CACHE =
201
-
202
- </dt>
203
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>no-cache</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
204
-
205
- </dl>
206
-
207
-
208
-
209
-
210
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
211
- <ul class="summary">
212
-
213
- <li class="public ">
214
- <span class="summary_signature">
215
-
216
- <a href="#root-instance_method" title="#root (instance method)">#<strong>root</strong> &#x21d2; Object </a>
217
-
218
-
219
-
220
- </span>
221
-
222
-
223
-
224
-
225
- <span class="note title readonly">readonly</span>
226
-
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
-
184
+
185
+
186
+ </div>
187
+ </div>
188
+ <div class="tags">
189
+
190
+
191
+ </div>
192
+ </dt>
193
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Expires</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
194
+
195
+ <dt id="CACHE_CONTROL-constant" class="">CACHE_CONTROL =
196
+
197
+ </dt>
198
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Cache-Control</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
199
+
200
+ <dt id="CONTENT_TYPE-constant" class="">CONTENT_TYPE =
201
+
202
+ </dt>
203
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Content-Type</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
204
+
205
+ <dt id="NO_CACHE-constant" class="">NO_CACHE =
206
+
207
+ </dt>
208
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>no-cache</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
209
+
210
+ </dl>
211
+
212
+
213
+
214
+
215
+
216
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
217
+ <ul class="summary">
218
+
219
+ <li class="public ">
220
+ <span class="summary_signature">
221
+
222
+ <a href="#root-instance_method" title="#root (instance method)">#<strong>root</strong> &#x21d2; Object </a>
223
+
224
+
225
+
226
+ </span>
227
+
228
+
229
+
230
+
231
+ <span class="note title readonly">readonly</span>
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
235
241
  <span class="summary_desc"><div class='inline'><p>Returns the value of attribute root.</p>
236
- </div></span>
237
-
238
- </li>
239
-
240
-
241
- </ul>
242
-
243
-
244
-
245
-
246
-
247
- <h2>
248
- Instance Method Summary
249
- <small><a href="#" class="summary_toggle">collapse</a></small>
250
- </h2>
251
-
252
- <ul class="summary">
253
-
254
- <li class="public ">
255
- <span class="summary_signature">
256
-
257
- <a href="#call-instance_method" title="#call (instance method)">#<strong>call</strong>(env) &#x21d2; Object </a>
258
-
259
-
260
-
261
- </span>
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
242
+ </div></span>
243
+
244
+ </li>
245
+
246
+
247
+ </ul>
248
+
249
+
250
+
251
+
252
+
253
+ <h2>
254
+ Instance Method Summary
255
+ <small><a href="#" class="summary_toggle">collapse</a></small>
256
+ </h2>
257
+
258
+ <ul class="summary">
259
+
260
+ <li class="public ">
261
+ <span class="summary_signature">
262
+
263
+ <a href="#call-instance_method" title="#call (instance method)">#<strong>call</strong>(env) &#x21d2; Object </a>
264
+
265
+
266
+
267
+ </span>
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
271
277
  <span class="summary_desc"><div class='inline'>
272
- </div></span>
273
-
274
- </li>
275
-
276
-
277
- <li class="public ">
278
- <span class="summary_signature">
279
-
280
- <a href="#fetch_template-instance_method" title="#fetch_template (instance method)">#<strong>fetch_template</strong>(path) &#x21d2; Object </a>
281
-
282
-
283
-
284
- </span>
285
-
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
-
278
+ </div></span>
279
+
280
+ </li>
281
+
282
+
283
+ <li class="public ">
284
+ <span class="summary_signature">
285
+
286
+ <a href="#fetch_template-instance_method" title="#fetch_template (instance method)">#<strong>fetch_template</strong>(path) &#x21d2; Object </a>
287
+
288
+
289
+
290
+ </span>
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
294
300
  <span class="summary_desc"><div class='inline'>
295
- </div></span>
296
-
297
- </li>
298
-
299
-
300
- <li class="public ">
301
- <span class="summary_signature">
302
-
303
- <a href="#freeze-instance_method" title="#freeze (instance method)">#<strong>freeze</strong> &#x21d2; Object </a>
304
-
305
-
306
-
307
- </span>
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
301
+ </div></span>
302
+
303
+ </li>
304
+
305
+
306
+ <li class="public ">
307
+ <span class="summary_signature">
308
+
309
+ <a href="#freeze-instance_method" title="#freeze (instance method)">#<strong>freeze</strong> &#x21d2; Object </a>
310
+
311
+
312
+
313
+ </span>
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
317
323
  <span class="summary_desc"><div class='inline'>
318
- </div></span>
319
-
320
- </li>
321
-
322
-
323
- <li class="public ">
324
- <span class="summary_signature">
325
-
326
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(app, root: Utopia::default_root, namespaces: {}) &#x21d2; Content </a>
327
-
328
-
329
-
330
- </span>
331
-
332
-
333
- <span class="note title constructor">constructor</span>
334
-
335
-
336
-
337
-
338
-
339
-
340
-
341
-
324
+ </div></span>
325
+
326
+ </li>
327
+
328
+
329
+ <li class="public ">
330
+ <span class="summary_signature">
331
+
332
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(app, root: Utopia::default_root, namespaces: {}) &#x21d2; Content </a>
333
+
334
+
335
+
336
+ </span>
337
+
338
+
339
+ <span class="note title constructor">constructor</span>
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
342
348
  <span class="summary_desc"><div class='inline'><p>A new instance of Content.</p>
343
- </div></span>
344
-
345
- </li>
346
-
347
-
348
- <li class="public ">
349
- <span class="summary_signature">
350
-
351
- <a href="#lookup_node-instance_method" title="#lookup_node (instance method)">#<strong>lookup_node</strong>(request_path) &#x21d2; Object </a>
352
-
353
-
354
-
355
- </span>
356
-
357
-
358
-
359
-
360
-
361
-
362
-
363
-
364
-
349
+ </div></span>
350
+
351
+ </li>
352
+
353
+
354
+ <li class="public ">
355
+ <span class="summary_signature">
356
+
357
+ <a href="#lookup_node-instance_method" title="#lookup_node (instance method)">#<strong>lookup_node</strong>(request_path) &#x21d2; Object </a>
358
+
359
+
360
+
361
+ </span>
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
365
371
  <span class="summary_desc"><div class='inline'><p>The request_path is an absolute uri path, e.g.</p>
366
- </div></span>
367
-
368
- </li>
369
-
370
-
371
- <li class="public ">
372
- <span class="summary_signature">
373
-
374
- <a href="#lookup_tag-instance_method" title="#lookup_tag (instance method)">#<strong>lookup_tag</strong>(qualified_name, node) &#x21d2; Object </a>
375
-
376
-
377
-
378
- </span>
379
-
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
-
372
+ </div></span>
373
+
374
+ </li>
375
+
376
+
377
+ <li class="public ">
378
+ <span class="summary_signature">
379
+
380
+ <a href="#lookup_tag-instance_method" title="#lookup_tag (instance method)">#<strong>lookup_tag</strong>(qualified_name, node) &#x21d2; Object </a>
381
+
382
+
383
+
384
+ </span>
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
388
394
  <span class="summary_desc"><div class='inline'><p>Look up a named tag such as <code>&lt;entry /&gt;</code> or <code>&lt;content:page&gt;...</code>.</p>
389
- </div></span>
390
-
391
- </li>
392
-
393
-
394
- </ul>
395
-
396
-
397
- <div id="constructor_details" class="method_details_list">
398
- <h2>Constructor Details</h2>
399
-
400
- <div class="method_details first">
401
- <h3 class="signature first" id="initialize-instance_method">
402
-
403
- #<strong>initialize</strong>(app, root: Utopia::default_root, namespaces: {}) &#x21d2; <tt><span class='object_link'><a href="" title="Utopia::Content (class)">Content</a></span></tt>
404
-
405
-
406
-
407
-
408
-
409
- </h3><div class="docstring">
410
- <div class="discussion">
395
+ </div></span>
396
+
397
+ </li>
398
+
399
+
400
+ </ul>
401
+
402
+
403
+ <div id="constructor_details" class="method_details_list">
404
+ <h2>Constructor Details</h2>
405
+
406
+ <div class="method_details first">
407
+ <h3 class="signature first" id="initialize-instance_method">
408
+
409
+ #<strong>initialize</strong>(app, root: Utopia::default_root, namespaces: {}) &#x21d2; <tt><span class='object_link'><a href="" title="Utopia::Content (class)">Content</a></span></tt>
410
+
411
+
412
+
413
+
414
+
415
+ </h3><div class="docstring">
416
+ <div class="discussion">
411
417
  <p>Returns a new instance of Content</p>
412
-
413
-
414
- </div>
415
- </div>
416
- <div class="tags">
417
- <p class="tag_title">Parameters:</p>
418
- <ul class="param">
419
-
420
- <li>
421
-
422
- <span class='name'>root</span>
423
-
424
-
425
- <span class='type'>(<tt>String</tt>)</span>
426
-
427
-
428
-
429
- &mdash;
418
+
419
+
420
+ </div>
421
+ </div>
422
+ <div class="tags">
423
+ <p class="tag_title">Parameters:</p>
424
+ <ul class="param">
425
+
426
+ <li>
427
+
428
+ <span class='name'>root</span>
429
+
430
+
431
+ <span class='type'>(<tt>String</tt>)</span>
432
+
433
+
434
+
435
+ &mdash;
430
436
  <div class='inline'><p>The content root where pages will be generated from.</p>
431
- </div>
432
-
433
- </li>
434
-
435
- <li>
436
-
437
- <span class='name'>namespaces</span>
438
-
439
-
440
- <span class='type'>(<tt>Hash&lt;String,Library&gt;</tt>)</span>
441
-
442
-
443
-
444
- &mdash;
437
+ </div>
438
+
439
+ </li>
440
+
441
+ <li>
442
+
443
+ <span class='name'>namespaces</span>
444
+
445
+
446
+ <span class='type'>(<tt>Hash&lt;String,Library&gt;</tt>)</span>
447
+
448
+
449
+
450
+ &mdash;
445
451
  <div class='inline'><p>Tag namespaces for dynamic tag lookup.</p>
446
- </div>
447
-
448
- </li>
449
-
450
- </ul>
451
-
452
-
453
- </div><table class="source_code">
454
- <tr>
455
- <td>
452
+ </div>
453
+
454
+ </li>
455
+
456
+ </ul>
457
+
458
+
459
+ </div><table class="source_code">
460
+ <tr>
461
+ <td>
456
462
  <pre class="lines">
457
463
 
458
464
 
@@ -470,9 +476,9 @@
470
476
  55
471
477
  56
472
478
  57
473
- 58</pre>
474
- </td>
475
- <td>
479
+ 58</pre>
480
+ </td>
481
+ <td>
476
482
  <pre class="code"><span class="info file"># File 'lib/utopia/content.rb', line 44</span>
477
483
 
478
484
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_app'>app</span><span class='comma'>,</span> <span class='label'>root:</span> <span class='const'><span class='object_link'><a href="../Utopia.html" title="Utopia (module)">Utopia</a></span></span><span class='op'>::</span><span class='id identifier rubyid_default_root'><span class='object_link'><a href="../Utopia.html#default_root-class_method" title="Utopia.default_root (method)">default_root</a></span></span><span class='comma'>,</span> <span class='label'>namespaces:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
@@ -489,78 +495,78 @@
489
495
 
490
496
  <span class='comment'># The core namespace for utopia specific functionality:
491
497
  </span> <span class='ivar'>@namespaces</span><span class='lbracket'>[</span><span class='const'><span class='object_link'><a href="#UTOPIA_NAMESPACE-constant" title="Utopia::Content::UTOPIA_NAMESPACE (constant)">UTOPIA_NAMESPACE</a></span></span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='const'><span class='object_link'><a href="Content/Tags.html" title="Utopia::Content::Tags (module)">Tags</a></span></span>
492
- <span class='kw'>end</span></pre>
493
- </td>
494
- </tr>
495
- </table>
496
- </div>
497
-
498
- </div>
499
-
500
- <div id="instance_attr_details" class="attr_details">
501
- <h2>Instance Attribute Details</h2>
502
-
503
-
504
- <span id=""></span>
505
- <div class="method_details first">
506
- <h3 class="signature first" id="root-instance_method">
507
-
508
- #<strong>root</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
509
-
510
-
511
-
512
-
513
-
514
- </h3><div class="docstring">
515
- <div class="discussion">
498
+ <span class='kw'>end</span></pre>
499
+ </td>
500
+ </tr>
501
+ </table>
502
+ </div>
503
+
504
+ </div>
505
+
506
+ <div id="instance_attr_details" class="attr_details">
507
+ <h2>Instance Attribute Details</h2>
508
+
509
+
510
+ <span id=""></span>
511
+ <div class="method_details first">
512
+ <h3 class="signature first" id="root-instance_method">
513
+
514
+ #<strong>root</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
515
+
516
+
517
+
518
+
519
+
520
+ </h3><div class="docstring">
521
+ <div class="discussion">
516
522
  <p>Returns the value of attribute root</p>
517
-
518
-
519
- </div>
520
- </div>
521
- <div class="tags">
522
-
523
-
524
- </div><table class="source_code">
525
- <tr>
526
- <td>
523
+
524
+
525
+ </div>
526
+ </div>
527
+ <div class="tags">
528
+
529
+
530
+ </div><table class="source_code">
531
+ <tr>
532
+ <td>
527
533
  <pre class="lines">
528
534
 
529
535
 
530
536
  70
531
537
  71
532
- 72</pre>
533
- </td>
534
- <td>
538
+ 72</pre>
539
+ </td>
540
+ <td>
535
541
  <pre class="code"><span class="info file"># File 'lib/utopia/content.rb', line 70</span>
536
542
 
537
543
  <span class='kw'>def</span> <span class='id identifier rubyid_root'><span class='object_link'><a href="../top-level-namespace.html" title="Top Level Namespace (root)">root</a></span></span>
538
544
  <span class='ivar'>@root</span>
539
- <span class='kw'>end</span></pre>
540
- </td>
541
- </tr>
542
- </table>
543
- </div>
544
-
545
- </div>
546
-
547
-
548
- <div id="instance_method_details" class="method_details_list">
549
- <h2>Instance Method Details</h2>
550
-
551
-
552
- <div class="method_details first">
553
- <h3 class="signature first" id="call-instance_method">
554
-
555
- #<strong>call</strong>(env) &#x21d2; <tt>Object</tt>
556
-
557
-
558
-
559
-
560
-
561
- </h3><table class="source_code">
562
- <tr>
563
- <td>
545
+ <span class='kw'>end</span></pre>
546
+ </td>
547
+ </tr>
548
+ </table>
549
+ </div>
550
+
551
+ </div>
552
+
553
+
554
+ <div id="instance_method_details" class="method_details_list">
555
+ <h2>Instance Method Details</h2>
556
+
557
+
558
+ <div class="method_details first">
559
+ <h3 class="signature first" id="call-instance_method">
560
+
561
+ #<strong>call</strong>(env) &#x21d2; <tt>Object</tt>
562
+
563
+
564
+
565
+
566
+
567
+ </h3><table class="source_code">
568
+ <tr>
569
+ <td>
564
570
  <pre class="lines">
565
571
 
566
572
 
@@ -591,9 +597,9 @@
591
597
  125
592
598
  126
593
599
  127
594
- 128</pre>
595
- </td>
596
- <td>
600
+ 128</pre>
601
+ </td>
602
+ <td>
597
603
  <pre class="code"><span class="info file"># File 'lib/utopia/content.rb', line 101</span>
598
604
 
599
605
  <span class='kw'>def</span> <span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_env'>env</span><span class='rparen'>)</span>
@@ -623,24 +629,24 @@
623
629
  <span class='kw'>end</span>
624
630
 
625
631
  <span class='kw'>return</span> <span class='ivar'>@app</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_env'>env</span><span class='rparen'>)</span>
626
- <span class='kw'>end</span></pre>
627
- </td>
628
- </tr>
629
- </table>
630
- </div>
631
-
632
- <div class="method_details ">
633
- <h3 class="signature " id="fetch_template-instance_method">
634
-
635
- #<strong>fetch_template</strong>(path) &#x21d2; <tt>Object</tt>
636
-
637
-
638
-
639
-
640
-
641
- </h3><table class="source_code">
642
- <tr>
643
- <td>
632
+ <span class='kw'>end</span></pre>
633
+ </td>
634
+ </tr>
635
+ </table>
636
+ </div>
637
+
638
+ <div class="method_details ">
639
+ <h3 class="signature " id="fetch_template-instance_method">
640
+
641
+ #<strong>fetch_template</strong>(path) &#x21d2; <tt>Object</tt>
642
+
643
+
644
+
645
+
646
+
647
+ </h3><table class="source_code">
648
+ <tr>
649
+ <td>
644
650
  <pre class="lines">
645
651
 
646
652
 
@@ -648,33 +654,33 @@
648
654
  73
649
655
  74
650
656
  75
651
- 76</pre>
652
- </td>
653
- <td>
657
+ 76</pre>
658
+ </td>
659
+ <td>
654
660
  <pre class="code"><span class="info file"># File 'lib/utopia/content.rb', line 72</span>
655
661
 
656
662
  <span class='kw'>def</span> <span class='id identifier rubyid_fetch_template'>fetch_template</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
657
663
  <span class='ivar'>@template_cache</span><span class='period'>.</span><span class='id identifier rubyid_fetch_or_store'>fetch_or_store</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span> <span class='kw'>do</span>
658
664
  <span class='const'>Trenni</span><span class='op'>::</span><span class='const'>MarkupTemplate</span><span class='period'>.</span><span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
659
665
  <span class='kw'>end</span>
660
- <span class='kw'>end</span></pre>
661
- </td>
662
- </tr>
663
- </table>
664
- </div>
665
-
666
- <div class="method_details ">
667
- <h3 class="signature " id="freeze-instance_method">
668
-
669
- #<strong>freeze</strong> &#x21d2; <tt>Object</tt>
670
-
671
-
672
-
673
-
674
-
675
- </h3><table class="source_code">
676
- <tr>
677
- <td>
666
+ <span class='kw'>end</span></pre>
667
+ </td>
668
+ </tr>
669
+ </table>
670
+ </div>
671
+
672
+ <div class="method_details ">
673
+ <h3 class="signature " id="freeze-instance_method">
674
+
675
+ #<strong>freeze</strong> &#x21d2; <tt>Object</tt>
676
+
677
+
678
+
679
+
680
+
681
+ </h3><table class="source_code">
682
+ <tr>
683
+ <td>
678
684
  <pre class="lines">
679
685
 
680
686
 
@@ -686,9 +692,9 @@
686
692
  65
687
693
  66
688
694
  67
689
- 68</pre>
690
- </td>
691
- <td>
695
+ 68</pre>
696
+ </td>
697
+ <td>
692
698
  <pre class="code"><span class="info file"># File 'lib/utopia/content.rb', line 60</span>
693
699
 
694
700
  <span class='kw'>def</span> <span class='id identifier rubyid_freeze'>freeze</span>
@@ -699,34 +705,34 @@
699
705
  <span class='ivar'>@namespaces</span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span>
700
706
 
701
707
  <span class='kw'>super</span>
702
- <span class='kw'>end</span></pre>
703
- </td>
704
- </tr>
705
- </table>
706
- </div>
707
-
708
- <div class="method_details ">
709
- <h3 class="signature " id="lookup_node-instance_method">
710
-
711
- #<strong>lookup_node</strong>(request_path) &#x21d2; <tt>Object</tt>
712
-
713
-
714
-
715
-
716
-
717
- </h3><div class="docstring">
718
- <div class="discussion">
708
+ <span class='kw'>end</span></pre>
709
+ </td>
710
+ </tr>
711
+ </table>
712
+ </div>
713
+
714
+ <div class="method_details ">
715
+ <h3 class="signature " id="lookup_node-instance_method">
716
+
717
+ #<strong>lookup_node</strong>(request_path) &#x21d2; <tt>Object</tt>
718
+
719
+
720
+
721
+
722
+
723
+ </h3><div class="docstring">
724
+ <div class="discussion">
719
725
  <p>The request_path is an absolute uri path, e.g. /foo/bar. If an xnode file exists on disk for this exact path, it is instantiated, otherwise nil.</p>
720
-
721
-
722
- </div>
723
- </div>
724
- <div class="tags">
725
-
726
-
727
- </div><table class="source_code">
728
- <tr>
729
- <td>
726
+
727
+
728
+ </div>
729
+ </div>
730
+ <div class="tags">
731
+
732
+
733
+ </div><table class="source_code">
734
+ <tr>
735
+ <td>
730
736
  <pre class="lines">
731
737
 
732
738
 
@@ -741,9 +747,9 @@
741
747
  96
742
748
  97
743
749
  98
744
- 99</pre>
745
- </td>
746
- <td>
750
+ 99</pre>
751
+ </td>
752
+ <td>
747
753
  <pre class="code"><span class="info file"># File 'lib/utopia/content.rb', line 88</span>
748
754
 
749
755
  <span class='kw'>def</span> <span class='id identifier rubyid_lookup_node'>lookup_node</span><span class='lparen'>(</span><span class='id identifier rubyid_request_path'>request_path</span><span class='rparen'>)</span>
@@ -757,34 +763,34 @@
757
763
  <span class='kw'>end</span>
758
764
 
759
765
  <span class='kw'>return</span> <span class='kw'>nil</span>
760
- <span class='kw'>end</span></pre>
761
- </td>
762
- </tr>
763
- </table>
764
- </div>
765
-
766
- <div class="method_details ">
767
- <h3 class="signature " id="lookup_tag-instance_method">
768
-
769
- #<strong>lookup_tag</strong>(qualified_name, node) &#x21d2; <tt>Object</tt>
770
-
771
-
772
-
773
-
774
-
775
- </h3><div class="docstring">
776
- <div class="discussion">
766
+ <span class='kw'>end</span></pre>
767
+ </td>
768
+ </tr>
769
+ </table>
770
+ </div>
771
+
772
+ <div class="method_details ">
773
+ <h3 class="signature " id="lookup_tag-instance_method">
774
+
775
+ #<strong>lookup_tag</strong>(qualified_name, node) &#x21d2; <tt>Object</tt>
776
+
777
+
778
+
779
+
780
+
781
+ </h3><div class="docstring">
782
+ <div class="discussion">
777
783
  <p>Look up a named tag such as <code>&lt;entry /&gt;</code> or <code>&lt;content:page&gt;...</code></p>
778
-
779
-
780
- </div>
781
- </div>
782
- <div class="tags">
783
-
784
-
785
- </div><table class="source_code">
786
- <tr>
787
- <td>
784
+
785
+
786
+ </div>
787
+ </div>
788
+ <div class="tags">
789
+
790
+
791
+ </div><table class="source_code">
792
+ <tr>
793
+ <td>
788
794
  <pre class="lines">
789
795
 
790
796
 
@@ -794,9 +800,9 @@
794
800
  82
795
801
  83
796
802
  84
797
- 85</pre>
798
- </td>
799
- <td>
803
+ 85</pre>
804
+ </td>
805
+ <td>
800
806
  <pre class="code"><span class="info file"># File 'lib/utopia/content.rb', line 79</span>
801
807
 
802
808
  <span class='kw'>def</span> <span class='id identifier rubyid_lookup_tag'>lookup_tag</span><span class='lparen'>(</span><span class='id identifier rubyid_qualified_name'>qualified_name</span><span class='comma'>,</span> <span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
@@ -805,22 +811,22 @@
805
811
  <span class='kw'>if</span> <span class='id identifier rubyid_library'>library</span> <span class='op'>=</span> <span class='ivar'>@namespaces</span><span class='lbracket'>[</span><span class='id identifier rubyid_namespace'>namespace</span><span class='rbracket'>]</span>
806
812
  <span class='id identifier rubyid_library'>library</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_node'>node</span><span class='rparen'>)</span>
807
813
  <span class='kw'>end</span>
808
- <span class='kw'>end</span></pre>
809
- </td>
810
- </tr>
811
- </table>
812
- </div>
813
-
814
- </div>
815
-
816
- </div>
817
-
818
- <div id="footer">
819
- Generated on Sat Mar 24 21:17:20 2018 by
820
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
821
- 0.9.12 (ruby-2.5.0).
822
- </div>
823
-
824
- </div>
825
- </body>
814
+ <span class='kw'>end</span></pre>
815
+ </td>
816
+ </tr>
817
+ </table>
818
+ </div>
819
+
820
+ </div>
821
+
822
+ </div>
823
+
824
+ <div id="footer">
825
+ Generated on Sat Mar 9 12:01:53 2019 by
826
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
827
+ 0.9.18 (ruby-2.6.1).
828
+ </div>
829
+
830
+ </div>
831
+ </body>
826
832
  </html>