utopia 2.5.5 → 2.6.0
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.
- checksums.yaml +4 -4
- data/.travis.yml +1 -2
- data/Gemfile +1 -0
- data/Rakefile +2 -0
- data/docs/code/Utopia.html +439 -433
- data/docs/code/Utopia/Command.html +201 -195
- data/docs/code/Utopia/Command/Environment.html +244 -244
- data/docs/code/Utopia/Command/Server.html +202 -202
- data/docs/code/Utopia/Command/Server/Create.html +192 -192
- data/docs/code/Utopia/Command/Server/Update.html +235 -235
- data/docs/code/Utopia/Command/Site.html +269 -263
- data/docs/code/Utopia/Command/Site/Create.html +192 -192
- data/docs/code/Utopia/Command/Site/Update.html +246 -246
- data/docs/code/Utopia/Command/Top.html +244 -244
- data/docs/code/Utopia/Content.html +636 -630
- data/docs/code/Utopia/Content/Document.html +1411 -1407
- data/docs/code/Utopia/Content/Document/State.html +1048 -1048
- data/docs/code/Utopia/Content/Link.html +1023 -1023
- data/docs/code/Utopia/Content/Links.html +629 -623
- data/docs/code/Utopia/Content/MarkupParser.html +702 -702
- data/docs/code/Utopia/Content/MarkupParser/ParsedTag.html +375 -375
- data/docs/code/Utopia/Content/MarkupParser/UnbalancedTagError.html +523 -523
- data/docs/code/Utopia/Content/Namespace.html +416 -416
- data/docs/code/Utopia/Content/Node.html +952 -952
- data/docs/code/Utopia/Content/Node/Context.html +790 -790
- data/docs/code/Utopia/Content/Response.html +686 -686
- data/docs/code/Utopia/Content/SymbolicHash.html +365 -365
- data/docs/code/Utopia/Content/Tags.html +134 -134
- data/docs/code/Utopia/Content/UnbalancedTagError.html +270 -270
- data/docs/code/Utopia/ContentLength.html +298 -294
- data/docs/code/Utopia/Controller.html +657 -651
- data/docs/code/Utopia/Controller/Actions.html +260 -260
- data/docs/code/Utopia/Controller/Actions/Action.html +785 -779
- data/docs/code/Utopia/Controller/Actions/ClassMethods.html +360 -360
- data/docs/code/Utopia/Controller/Base.html +989 -989
- data/docs/code/Utopia/Controller/Respond.html +264 -254
- data/docs/code/Utopia/Controller/Respond/ClassMethods.html +207 -207
- data/docs/code/Utopia/Controller/Respond/Converter.html +219 -219
- data/docs/code/Utopia/Controller/Respond/Converter/Callback.html +425 -425
- data/docs/code/Utopia/Controller/Respond/Converter/ToJSON.html +323 -317
- data/docs/code/Utopia/Controller/Respond/Passthrough.html +266 -260
- data/docs/code/Utopia/Controller/Respond/Responder.html +449 -443
- data/docs/code/Utopia/Controller/Rewrite.html +260 -260
- data/docs/code/Utopia/Controller/Rewrite/ClassMethods.html +216 -216
- data/docs/code/Utopia/Controller/Rewrite/ExtractPrefixRule.html +303 -303
- data/docs/code/Utopia/Controller/Rewrite/Rewriter.html +402 -402
- data/docs/code/Utopia/Controller/Rewrite/Rule.html +193 -193
- data/docs/code/Utopia/Controller/Variables.html +428 -428
- data/docs/code/Utopia/Controllers.html +216 -216
- data/docs/code/Utopia/Exceptions.html +125 -125
- data/docs/code/Utopia/Exceptions/Handler.html +405 -405
- data/docs/code/Utopia/Exceptions/Mailer.html +400 -394
- data/docs/code/Utopia/Extensions.html +116 -116
- data/docs/code/Utopia/Extensions/ArraySplit.html +164 -164
- data/docs/code/Utopia/Extensions/DateTimeComparison.html +173 -173
- data/docs/code/Utopia/Extensions/TimeDateComparison.html +173 -173
- data/docs/code/Utopia/HTTP.html +193 -187
- data/docs/code/Utopia/HTTP/Status.html +355 -355
- data/docs/code/Utopia/Locale.html +522 -522
- data/docs/code/Utopia/Localization.html +886 -880
- data/docs/code/Utopia/Localization/Wrapper.html +403 -403
- data/docs/code/Utopia/Logger.html +185 -185
- data/docs/code/Utopia/Logger/CompactFormatter.html +290 -290
- data/docs/code/Utopia/Path.html +2562 -2556
- data/docs/code/Utopia/Path/Matcher.html +395 -395
- data/docs/code/Utopia/Path/Matcher/MatchData.html +418 -418
- data/docs/code/Utopia/Redirection.html +148 -142
- data/docs/code/Utopia/Redirection/ClientRedirect.html +594 -594
- data/docs/code/Utopia/Redirection/DirectoryIndex.html +265 -265
- data/docs/code/Utopia/Redirection/Errors.html +391 -385
- data/docs/code/Utopia/Redirection/Moved.html +265 -265
- data/docs/code/Utopia/Redirection/RequestFailure.html +201 -201
- data/docs/code/Utopia/Redirection/Rewrite.html +265 -265
- data/docs/code/Utopia/Session.html +723 -717
- data/docs/code/Utopia/Session/LazyHash.html +709 -709
- data/docs/code/Utopia/Setup.html +783 -777
- data/docs/code/Utopia/Static.html +516 -510
- data/docs/code/Utopia/Static/LocalFile.html +875 -869
- data/docs/code/Utopia/Static/MimeTypeLoader.html +427 -427
- data/docs/code/Utopia/Static/MimeTypeLoader/ExpansionError.html +123 -123
- data/docs/code/_index.html +757 -757
- data/docs/code/class_list.html +51 -51
- data/docs/code/css/full_list.css +58 -58
- data/docs/code/css/style.css +496 -499
- data/docs/code/file.README.html +72 -70
- data/docs/code/file_list.html +56 -56
- data/docs/code/frames.html +17 -17
- data/docs/code/index.html +72 -70
- data/docs/code/js/app.js +292 -248
- data/docs/code/js/full_list.js +216 -216
- data/docs/code/js/jquery.js +3 -3
- data/docs/code/method_list.html +3443 -3443
- data/docs/code/top-level-namespace.html +109 -109
- data/docs/index.html +2 -2
- data/docs/wiki.html +2 -2
- data/docs/wiki/edit.html +1 -1
- data/docs/wiki/javascript.html +153 -0
- data/docs/wiki/javascript/index.html +153 -0
- data/documentation/.yarnrc +1 -0
- data/documentation/Gemfile +1 -0
- data/documentation/config/environment.rb +1 -0
- data/documentation/pages/wiki/content.md +1 -1
- data/documentation/pages/wiki/javascript/content.md +75 -0
- data/documentation/pages/wiki/links.yaml +3 -1
- data/lib/utopia/command/site.rb +4 -4
- data/lib/utopia/version.rb +1 -1
- data/setup/site/.yarnrc +1 -0
- data/setup/site/tasks/yarn.rake +32 -0
- data/spec/utopia/command_spec.rb +2 -2
- metadata +8 -9
- data/docs/wiki/bower-integration.html +0 -74
- data/docs/wiki/bower-integration/index.html +0 -74
- data/documentation/.bowerrc +0 -4
- data/documentation/pages/wiki/bower-integration/content.md +0 -25
- data/setup/.bowerrc +0 -3
- data/setup/site/.bowerrc +0 -4
- data/setup/site/tasks/bower.rake +0 -45
|
@@ -1,461 +1,467 @@
|
|
|
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::Controller::Actions::Action
|
|
8
|
-
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
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::Controller::Actions::Action";
|
|
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 (A)</a> »
|
|
40
|
-
<span class='title'><span class='object_link'><a href="../../../Utopia.html" title="Utopia (module)">Utopia</a></span></span> » <span class='title'><span class='object_link'><a href="../../Controller.html" title="Utopia::Controller (class)">Controller</a></span></span> » <span class='title'><span class='object_link'><a href="../Actions.html" title="Utopia::Controller::Actions (module)">Actions</a></span></span>
|
|
41
|
-
»
|
|
42
|
-
<span class="title">Action</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::Controller::Actions::Action
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</h1>
|
|
67
|
-
<div class="box_info">
|
|
68
|
-
|
|
69
|
-
<dl>
|
|
70
|
-
<dt>Inherits:</dt>
|
|
71
|
-
<dd>
|
|
72
|
-
<span class="inheritName">Hash</span>
|
|
73
|
-
|
|
74
|
-
<ul class="fullTree">
|
|
75
|
-
<li>Object</li>
|
|
76
|
-
|
|
77
|
-
<li class="next">Hash</li>
|
|
78
|
-
|
|
79
|
-
<li class="next">Utopia::Controller::Actions::Action</li>
|
|
80
|
-
|
|
81
|
-
</ul>
|
|
82
|
-
<a href="#" class="inheritanceTree">show all</a>
|
|
83
|
-
|
|
84
|
-
</dd>
|
|
85
|
-
</dl>
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
<dl>
|
|
98
|
-
<dt>Defined in:</dt>
|
|
99
|
-
<dd>lib/utopia/controller/actions.rb</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::Controller::Actions::Action
|
|
8
|
+
|
|
9
|
+
— 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::Controller::Actions::Action";
|
|
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 (A)</a> »
|
|
40
|
+
<span class='title'><span class='object_link'><a href="../../../Utopia.html" title="Utopia (module)">Utopia</a></span></span> » <span class='title'><span class='object_link'><a href="../../Controller.html" title="Utopia::Controller (class)">Controller</a></span></span> » <span class='title'><span class='object_link'><a href="../Actions.html" title="Utopia::Controller::Actions (module)">Actions</a></span></span>
|
|
41
|
+
»
|
|
42
|
+
<span class="title">Action</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::Controller::Actions::Action
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</h1>
|
|
67
|
+
<div class="box_info">
|
|
68
|
+
|
|
69
|
+
<dl>
|
|
70
|
+
<dt>Inherits:</dt>
|
|
71
|
+
<dd>
|
|
72
|
+
<span class="inheritName">Hash</span>
|
|
73
|
+
|
|
74
|
+
<ul class="fullTree">
|
|
75
|
+
<li>Object</li>
|
|
76
|
+
|
|
77
|
+
<li class="next">Hash</li>
|
|
78
|
+
|
|
79
|
+
<li class="next">Utopia::Controller::Actions::Action</li>
|
|
80
|
+
|
|
81
|
+
</ul>
|
|
82
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
83
|
+
|
|
84
|
+
</dd>
|
|
85
|
+
</dl>
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
<dl>
|
|
98
|
+
<dt>Defined in:</dt>
|
|
99
|
+
<dd>lib/utopia/controller/actions.rb</dd>
|
|
100
|
+
</dl>
|
|
101
|
+
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
|
105
|
+
<div class="discussion">
|
|
106
106
|
<p>A nested action lookup hash table.</p>
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
<div class="tags">
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
</div>
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
<
|
|
119
|
-
|
|
120
|
-
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="tags">
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<h2>
|
|
117
|
+
Constant Summary
|
|
118
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
|
119
|
+
</h2>
|
|
120
|
+
|
|
121
|
+
<dl class="constants">
|
|
122
|
+
|
|
123
|
+
<dt id="WILDCARD_GREEDY-constant" class="">WILDCARD_GREEDY =
|
|
124
|
+
<div class="docstring">
|
|
125
|
+
<div class="discussion">
|
|
121
126
|
<p>Matches 0 or more path components.</p>
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
</div>
|
|
125
|
-
</div>
|
|
126
|
-
<div class="tags">
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
</div>
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
<div class="discussion">
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="tags">
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
</div>
|
|
135
|
+
</dt>
|
|
136
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>**</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
137
|
+
|
|
138
|
+
<dt id="WILDCARD-constant" class="">WILDCARD =
|
|
139
|
+
<div class="docstring">
|
|
140
|
+
<div class="discussion">
|
|
136
141
|
<p>Matches any 1 path component.</p>
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
<div class="tags">
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
</div>
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
<
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
<div class="tags">
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
</div>
|
|
150
|
+
</dt>
|
|
151
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>*</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
152
|
+
|
|
153
|
+
</dl>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
|
160
|
+
<ul class="summary">
|
|
161
|
+
|
|
162
|
+
<li class="public ">
|
|
163
|
+
<span class="summary_signature">
|
|
164
|
+
|
|
165
|
+
<a href="#callback-instance_method" title="#callback (instance method)">#<strong>callback</strong> ⇒ Object </a>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
</span>
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
176
182
|
<span class="summary_desc"><div class='inline'><p>Returns the value of attribute callback.</p>
|
|
177
|
-
</div></span>
|
|
178
|
-
|
|
179
|
-
</li>
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
<li class="public ">
|
|
183
|
-
<span class="summary_signature">
|
|
184
|
-
|
|
185
|
-
<a href="#options-instance_method" title="#options (instance method)">#<strong>options</strong> ⇒ Object </a>
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
</span>
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
183
|
+
</div></span>
|
|
184
|
+
|
|
185
|
+
</li>
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
<li class="public ">
|
|
189
|
+
<span class="summary_signature">
|
|
190
|
+
|
|
191
|
+
<a href="#options-instance_method" title="#options (instance method)">#<strong>options</strong> ⇒ Object </a>
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
</span>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
202
208
|
<span class="summary_desc"><div class='inline'><p>Returns the value of attribute options.</p>
|
|
203
|
-
</div></span>
|
|
204
|
-
|
|
205
|
-
</li>
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
</ul>
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
<h2>
|
|
215
|
-
Instance Method Summary
|
|
216
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
217
|
-
</h2>
|
|
218
|
-
|
|
219
|
-
<ul class="summary">
|
|
220
|
-
|
|
221
|
-
<li class="public ">
|
|
222
|
-
<span class="summary_signature">
|
|
223
|
-
|
|
224
|
-
<a href="#==-instance_method" title="#== (instance method)">#<strong>==</strong>(other) ⇒ Object </a>
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
</span>
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
209
|
+
</div></span>
|
|
210
|
+
|
|
211
|
+
</li>
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
</ul>
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
<h2>
|
|
221
|
+
Instance Method Summary
|
|
222
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
223
|
+
</h2>
|
|
224
|
+
|
|
225
|
+
<ul class="summary">
|
|
226
|
+
|
|
227
|
+
<li class="public ">
|
|
228
|
+
<span class="summary_signature">
|
|
229
|
+
|
|
230
|
+
<a href="#==-instance_method" title="#== (instance method)">#<strong>==</strong>(other) ⇒ Object </a>
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
</span>
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
238
244
|
<span class="summary_desc"><div class='inline'>
|
|
239
|
-
</div></span>
|
|
240
|
-
|
|
241
|
-
</li>
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
<li class="public ">
|
|
245
|
-
<span class="summary_signature">
|
|
246
|
-
|
|
247
|
-
<a href="#apply-instance_method" title="#apply (instance method)">#<strong>apply</strong>(path, index = -1,, &block) ⇒ Object </a>
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
</span>
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
245
|
+
</div></span>
|
|
246
|
+
|
|
247
|
+
</li>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
<li class="public ">
|
|
251
|
+
<span class="summary_signature">
|
|
252
|
+
|
|
253
|
+
<a href="#apply-instance_method" title="#apply (instance method)">#<strong>apply</strong>(path, index = -1,, &block) ⇒ Object </a>
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
</span>
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
261
267
|
<span class="summary_desc"><div class='inline'><p>Given a path, iterate over all actions that match.</p>
|
|
262
|
-
</div></span>
|
|
263
|
-
|
|
264
|
-
</li>
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
<li class="public ">
|
|
268
|
-
<span class="summary_signature">
|
|
269
|
-
|
|
270
|
-
<a href="#callback%3F-instance_method" title="#callback? (instance method)">#<strong>callback?</strong> ⇒ Boolean </a>
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
</span>
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
268
|
+
</div></span>
|
|
269
|
+
|
|
270
|
+
</li>
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
<li class="public ">
|
|
274
|
+
<span class="summary_signature">
|
|
275
|
+
|
|
276
|
+
<a href="#callback%3F-instance_method" title="#callback? (instance method)">#<strong>callback?</strong> ⇒ Boolean </a>
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
</span>
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
284
290
|
<span class="summary_desc"><div class='inline'>
|
|
285
|
-
</div></span>
|
|
286
|
-
|
|
287
|
-
</li>
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
<li class="public ">
|
|
291
|
-
<span class="summary_signature">
|
|
292
|
-
|
|
293
|
-
<a href="#define-instance_method" title="#define (instance method)">#<strong>define</strong>(path, **options, &callback) ⇒ Object </a>
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
</span>
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
291
|
+
</div></span>
|
|
292
|
+
|
|
293
|
+
</li>
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
<li class="public ">
|
|
297
|
+
<span class="summary_signature">
|
|
298
|
+
|
|
299
|
+
<a href="#define-instance_method" title="#define (instance method)">#<strong>define</strong>(path, **options, &callback) ⇒ Object </a>
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
</span>
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
307
313
|
<span class="summary_desc"><div class='inline'>
|
|
308
|
-
</div></span>
|
|
309
|
-
|
|
310
|
-
</li>
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
<li class="public ">
|
|
314
|
-
<span class="summary_signature">
|
|
315
|
-
|
|
316
|
-
<a href="#eql%3F-instance_method" title="#eql? (instance method)">#<strong>eql?</strong>(other) ⇒ Boolean </a>
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
</span>
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
314
|
+
</div></span>
|
|
315
|
+
|
|
316
|
+
</li>
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
<li class="public ">
|
|
320
|
+
<span class="summary_signature">
|
|
321
|
+
|
|
322
|
+
<a href="#eql%3F-instance_method" title="#eql? (instance method)">#<strong>eql?</strong>(other) ⇒ Boolean </a>
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
</span>
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
330
336
|
<span class="summary_desc"><div class='inline'>
|
|
331
|
-
</div></span>
|
|
332
|
-
|
|
333
|
-
</li>
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
<li class="public ">
|
|
337
|
-
<span class="summary_signature">
|
|
338
|
-
|
|
339
|
-
<a href="#hash-instance_method" title="#hash (instance method)">#<strong>hash</strong> ⇒ Object </a>
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
</span>
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
337
|
+
</div></span>
|
|
338
|
+
|
|
339
|
+
</li>
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
<li class="public ">
|
|
343
|
+
<span class="summary_signature">
|
|
344
|
+
|
|
345
|
+
<a href="#hash-instance_method" title="#hash (instance method)">#<strong>hash</strong> ⇒ Object </a>
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
</span>
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
353
359
|
<span class="summary_desc"><div class='inline'>
|
|
354
|
-
</div></span>
|
|
355
|
-
|
|
356
|
-
</li>
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
<li class="public ">
|
|
360
|
-
<span class="summary_signature">
|
|
361
|
-
|
|
362
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(options = {}, &block) ⇒ Action </a>
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
</span>
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
<span class="note title constructor">constructor</span>
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
360
|
+
</div></span>
|
|
361
|
+
|
|
362
|
+
</li>
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
<li class="public ">
|
|
366
|
+
<span class="summary_signature">
|
|
367
|
+
|
|
368
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(options = {}, &block) ⇒ Action </a>
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
</span>
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
<span class="note title constructor">constructor</span>
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
378
384
|
<span class="summary_desc"><div class='inline'><p>A new instance of Action.</p>
|
|
379
|
-
</div></span>
|
|
380
|
-
|
|
381
|
-
</li>
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
<li class="public ">
|
|
385
|
-
<span class="summary_signature">
|
|
386
|
-
|
|
387
|
-
<a href="#inspect-instance_method" title="#inspect (instance method)">#<strong>inspect</strong> ⇒ Object </a>
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
</span>
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
385
|
+
</div></span>
|
|
386
|
+
|
|
387
|
+
</li>
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
<li class="public ">
|
|
391
|
+
<span class="summary_signature">
|
|
392
|
+
|
|
393
|
+
<a href="#inspect-instance_method" title="#inspect (instance method)">#<strong>inspect</strong> ⇒ Object </a>
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
</span>
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
401
407
|
<span class="summary_desc"><div class='inline'>
|
|
402
|
-
</div></span>
|
|
403
|
-
|
|
404
|
-
</li>
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
<li class="public ">
|
|
408
|
-
<span class="summary_signature">
|
|
409
|
-
|
|
410
|
-
<a href="#matching-instance_method" title="#matching (instance method)">#<strong>matching</strong>(path, &block) ⇒ Object </a>
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
</span>
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
408
|
+
</div></span>
|
|
409
|
+
|
|
410
|
+
</li>
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
<li class="public ">
|
|
414
|
+
<span class="summary_signature">
|
|
415
|
+
|
|
416
|
+
<a href="#matching-instance_method" title="#matching (instance method)">#<strong>matching</strong>(path, &block) ⇒ Object </a>
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
</span>
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
424
430
|
<span class="summary_desc"><div class='inline'>
|
|
425
|
-
</div></span>
|
|
426
|
-
|
|
427
|
-
</li>
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
</ul>
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
<div id="constructor_details" class="method_details_list">
|
|
435
|
-
<h2>Constructor Details</h2>
|
|
436
|
-
|
|
437
|
-
<div class="method_details first">
|
|
438
|
-
<h3 class="signature first" id="initialize-instance_method">
|
|
439
|
-
|
|
440
|
-
#<strong>initialize</strong>(options = {}, &block) ⇒ <tt><span class='object_link'><a href="" title="Utopia::Controller::Actions::Action (class)">Action</a></span></tt>
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
</h3><div class="docstring">
|
|
447
|
-
<div class="discussion">
|
|
431
|
+
</div></span>
|
|
432
|
+
|
|
433
|
+
</li>
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
</ul>
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
<div id="constructor_details" class="method_details_list">
|
|
441
|
+
<h2>Constructor Details</h2>
|
|
442
|
+
|
|
443
|
+
<div class="method_details first">
|
|
444
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
445
|
+
|
|
446
|
+
#<strong>initialize</strong>(options = {}, &block) ⇒ <tt><span class='object_link'><a href="" title="Utopia::Controller::Actions::Action (class)">Action</a></span></tt>
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
</h3><div class="docstring">
|
|
453
|
+
<div class="discussion">
|
|
448
454
|
<p>Returns a new instance of Action</p>
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
</div>
|
|
452
|
-
</div>
|
|
453
|
-
<div class="tags">
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
</div><table class="source_code">
|
|
457
|
-
<tr>
|
|
458
|
-
<td>
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
</div>
|
|
458
|
+
</div>
|
|
459
|
+
<div class="tags">
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
</div><table class="source_code">
|
|
463
|
+
<tr>
|
|
464
|
+
<td>
|
|
459
465
|
<pre class="lines">
|
|
460
466
|
|
|
461
467
|
|
|
@@ -464,9 +470,9 @@
|
|
|
464
470
|
39
|
|
465
471
|
40
|
|
466
472
|
41
|
|
467
|
-
42</pre>
|
|
468
|
-
</td>
|
|
469
|
-
<td>
|
|
473
|
+
42</pre>
|
|
474
|
+
</td>
|
|
475
|
+
<td>
|
|
470
476
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 37</span>
|
|
471
477
|
|
|
472
478
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
@@ -474,177 +480,177 @@
|
|
|
474
480
|
<span class='ivar'>@callback</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
|
475
481
|
|
|
476
482
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
|
477
|
-
<span class='kw'>end</span></pre>
|
|
478
|
-
</td>
|
|
479
|
-
</tr>
|
|
480
|
-
</table>
|
|
481
|
-
</div>
|
|
482
|
-
|
|
483
|
-
</div>
|
|
484
|
-
|
|
485
|
-
<div id="instance_attr_details" class="attr_details">
|
|
486
|
-
<h2>Instance Attribute Details</h2>
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
<span id="callback=-instance_method"></span>
|
|
490
|
-
<div class="method_details first">
|
|
491
|
-
<h3 class="signature first" id="callback-instance_method">
|
|
492
|
-
|
|
493
|
-
#<strong>callback</strong> ⇒ <tt>Object</tt>
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
</h3><div class="docstring">
|
|
500
|
-
<div class="discussion">
|
|
483
|
+
<span class='kw'>end</span></pre>
|
|
484
|
+
</td>
|
|
485
|
+
</tr>
|
|
486
|
+
</table>
|
|
487
|
+
</div>
|
|
488
|
+
|
|
489
|
+
</div>
|
|
490
|
+
|
|
491
|
+
<div id="instance_attr_details" class="attr_details">
|
|
492
|
+
<h2>Instance Attribute Details</h2>
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
<span id="callback=-instance_method"></span>
|
|
496
|
+
<div class="method_details first">
|
|
497
|
+
<h3 class="signature first" id="callback-instance_method">
|
|
498
|
+
|
|
499
|
+
#<strong>callback</strong> ⇒ <tt>Object</tt>
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
</h3><div class="docstring">
|
|
506
|
+
<div class="discussion">
|
|
501
507
|
<p>Returns the value of attribute callback</p>
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
</div>
|
|
505
|
-
</div>
|
|
506
|
-
<div class="tags">
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
</div><table class="source_code">
|
|
510
|
-
<tr>
|
|
511
|
-
<td>
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
</div>
|
|
511
|
+
</div>
|
|
512
|
+
<div class="tags">
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
</div><table class="source_code">
|
|
516
|
+
<tr>
|
|
517
|
+
<td>
|
|
512
518
|
<pre class="lines">
|
|
513
519
|
|
|
514
520
|
|
|
515
521
|
44
|
|
516
522
|
45
|
|
517
|
-
46</pre>
|
|
518
|
-
</td>
|
|
519
|
-
<td>
|
|
523
|
+
46</pre>
|
|
524
|
+
</td>
|
|
525
|
+
<td>
|
|
520
526
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 44</span>
|
|
521
527
|
|
|
522
528
|
<span class='kw'>def</span> <span class='id identifier rubyid_callback'>callback</span>
|
|
523
529
|
<span class='ivar'>@callback</span>
|
|
524
|
-
<span class='kw'>end</span></pre>
|
|
525
|
-
</td>
|
|
526
|
-
</tr>
|
|
527
|
-
</table>
|
|
528
|
-
</div>
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
<span id="options=-instance_method"></span>
|
|
532
|
-
<div class="method_details ">
|
|
533
|
-
<h3 class="signature " id="options-instance_method">
|
|
534
|
-
|
|
535
|
-
#<strong>options</strong> ⇒ <tt>Object</tt>
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
</h3><div class="docstring">
|
|
542
|
-
<div class="discussion">
|
|
530
|
+
<span class='kw'>end</span></pre>
|
|
531
|
+
</td>
|
|
532
|
+
</tr>
|
|
533
|
+
</table>
|
|
534
|
+
</div>
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
<span id="options=-instance_method"></span>
|
|
538
|
+
<div class="method_details ">
|
|
539
|
+
<h3 class="signature " id="options-instance_method">
|
|
540
|
+
|
|
541
|
+
#<strong>options</strong> ⇒ <tt>Object</tt>
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
</h3><div class="docstring">
|
|
548
|
+
<div class="discussion">
|
|
543
549
|
<p>Returns the value of attribute options</p>
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
</div>
|
|
547
|
-
</div>
|
|
548
|
-
<div class="tags">
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
</div><table class="source_code">
|
|
552
|
-
<tr>
|
|
553
|
-
<td>
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
</div>
|
|
553
|
+
</div>
|
|
554
|
+
<div class="tags">
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
</div><table class="source_code">
|
|
558
|
+
<tr>
|
|
559
|
+
<td>
|
|
554
560
|
<pre class="lines">
|
|
555
561
|
|
|
556
562
|
|
|
557
563
|
44
|
|
558
564
|
45
|
|
559
|
-
46</pre>
|
|
560
|
-
</td>
|
|
561
|
-
<td>
|
|
565
|
+
46</pre>
|
|
566
|
+
</td>
|
|
567
|
+
<td>
|
|
562
568
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 44</span>
|
|
563
569
|
|
|
564
570
|
<span class='kw'>def</span> <span class='id identifier rubyid_options'>options</span>
|
|
565
571
|
<span class='ivar'>@options</span>
|
|
566
|
-
<span class='kw'>end</span></pre>
|
|
567
|
-
</td>
|
|
568
|
-
</tr>
|
|
569
|
-
</table>
|
|
570
|
-
</div>
|
|
571
|
-
|
|
572
|
-
</div>
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
<div id="instance_method_details" class="method_details_list">
|
|
576
|
-
<h2>Instance Method Details</h2>
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
<div class="method_details first">
|
|
580
|
-
<h3 class="signature first" id="==-instance_method">
|
|
581
|
-
|
|
582
|
-
#<strong>==</strong>(other) ⇒ <tt>Object</tt>
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
</h3><table class="source_code">
|
|
589
|
-
<tr>
|
|
590
|
-
<td>
|
|
572
|
+
<span class='kw'>end</span></pre>
|
|
573
|
+
</td>
|
|
574
|
+
</tr>
|
|
575
|
+
</table>
|
|
576
|
+
</div>
|
|
577
|
+
|
|
578
|
+
</div>
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
<div id="instance_method_details" class="method_details_list">
|
|
582
|
+
<h2>Instance Method Details</h2>
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
<div class="method_details first">
|
|
586
|
+
<h3 class="signature first" id="==-instance_method">
|
|
587
|
+
|
|
588
|
+
#<strong>==</strong>(other) ⇒ <tt>Object</tt>
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
</h3><table class="source_code">
|
|
595
|
+
<tr>
|
|
596
|
+
<td>
|
|
591
597
|
<pre class="lines">
|
|
592
598
|
|
|
593
599
|
|
|
594
600
|
58
|
|
595
601
|
59
|
|
596
|
-
60</pre>
|
|
597
|
-
</td>
|
|
598
|
-
<td>
|
|
602
|
+
60</pre>
|
|
603
|
+
</td>
|
|
604
|
+
<td>
|
|
599
605
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 58</span>
|
|
600
606
|
|
|
601
607
|
<span class='kw'>def</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span>
|
|
602
608
|
<span class='kw'>super</span> <span class='kw'>and</span> <span class='ivar'>@callback</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_callback'>callback</span> <span class='kw'>and</span> <span class='ivar'>@options</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_options'>options</span>
|
|
603
|
-
<span class='kw'>end</span></pre>
|
|
604
|
-
</td>
|
|
605
|
-
</tr>
|
|
606
|
-
</table>
|
|
607
|
-
</div>
|
|
608
|
-
|
|
609
|
-
<div class="method_details ">
|
|
610
|
-
<h3 class="signature " id="apply-instance_method">
|
|
611
|
-
|
|
612
|
-
#<strong>apply</strong>(path, index = -1,, &block) ⇒ <tt>Object</tt>
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
</h3><div class="docstring">
|
|
619
|
-
<div class="discussion">
|
|
609
|
+
<span class='kw'>end</span></pre>
|
|
610
|
+
</td>
|
|
611
|
+
</tr>
|
|
612
|
+
</table>
|
|
613
|
+
</div>
|
|
614
|
+
|
|
615
|
+
<div class="method_details ">
|
|
616
|
+
<h3 class="signature " id="apply-instance_method">
|
|
617
|
+
|
|
618
|
+
#<strong>apply</strong>(path, index = -1,, &block) ⇒ <tt>Object</tt>
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
</h3><div class="docstring">
|
|
625
|
+
<div class="discussion">
|
|
620
626
|
<p>Given a path, iterate over all actions that match. Actions match from most specific to most general.</p>
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
</div>
|
|
624
|
-
</div>
|
|
625
|
-
<div class="tags">
|
|
626
|
-
|
|
627
|
-
<p class="tag_title">Returns:</p>
|
|
628
|
-
<ul class="return">
|
|
629
|
-
|
|
630
|
-
<li>
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
<span class='type'></span>
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
</div>
|
|
630
|
+
</div>
|
|
631
|
+
<div class="tags">
|
|
632
|
+
|
|
633
|
+
<p class="tag_title">Returns:</p>
|
|
634
|
+
<ul class="return">
|
|
635
|
+
|
|
636
|
+
<li>
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
<span class='type'></span>
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
|
|
638
644
|
<div class='inline'><p>nil if nothing matched, or true if something matched.</p>
|
|
639
|
-
</div>
|
|
640
|
-
|
|
641
|
-
</li>
|
|
642
|
-
|
|
643
|
-
</ul>
|
|
644
|
-
|
|
645
|
-
</div><table class="source_code">
|
|
646
|
-
<tr>
|
|
647
|
-
<td>
|
|
645
|
+
</div>
|
|
646
|
+
|
|
647
|
+
</li>
|
|
648
|
+
|
|
649
|
+
</ul>
|
|
650
|
+
|
|
651
|
+
</div><table class="source_code">
|
|
652
|
+
<tr>
|
|
653
|
+
<td>
|
|
648
654
|
<pre class="lines">
|
|
649
655
|
|
|
650
656
|
|
|
@@ -673,9 +679,9 @@
|
|
|
673
679
|
92
|
|
674
680
|
93
|
|
675
681
|
94
|
|
676
|
-
95</pre>
|
|
677
|
-
</td>
|
|
678
|
-
<td>
|
|
682
|
+
95</pre>
|
|
683
|
+
</td>
|
|
684
|
+
<td>
|
|
679
685
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 70</span>
|
|
680
686
|
|
|
681
687
|
<span class='kw'>def</span> <span class='id identifier rubyid_apply'>apply</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_index'>index</span> <span class='op'>=</span> <span class='op'>-</span><span class='int'>1</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
@@ -703,77 +709,77 @@
|
|
|
703
709
|
<span class='kw'>end</span>
|
|
704
710
|
|
|
705
711
|
<span class='kw'>return</span> <span class='id identifier rubyid_matched'>matched</span>
|
|
706
|
-
<span class='kw'>end</span></pre>
|
|
707
|
-
</td>
|
|
708
|
-
</tr>
|
|
709
|
-
</table>
|
|
710
|
-
</div>
|
|
711
|
-
|
|
712
|
-
<div class="method_details ">
|
|
713
|
-
<h3 class="signature " id="callback?-instance_method">
|
|
714
|
-
|
|
715
|
-
#<strong>callback?</strong> ⇒ <tt>Boolean</tt>
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
</h3><div class="docstring">
|
|
722
|
-
<div class="discussion">
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
</div>
|
|
727
|
-
</div>
|
|
728
|
-
<div class="tags">
|
|
729
|
-
|
|
730
|
-
<p class="tag_title">Returns:</p>
|
|
731
|
-
<ul class="return">
|
|
732
|
-
|
|
733
|
-
<li>
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
</li>
|
|
741
|
-
|
|
742
|
-
</ul>
|
|
743
|
-
|
|
744
|
-
</div><table class="source_code">
|
|
745
|
-
<tr>
|
|
746
|
-
<td>
|
|
712
|
+
<span class='kw'>end</span></pre>
|
|
713
|
+
</td>
|
|
714
|
+
</tr>
|
|
715
|
+
</table>
|
|
716
|
+
</div>
|
|
717
|
+
|
|
718
|
+
<div class="method_details ">
|
|
719
|
+
<h3 class="signature " id="callback?-instance_method">
|
|
720
|
+
|
|
721
|
+
#<strong>callback?</strong> ⇒ <tt>Boolean</tt>
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
</h3><div class="docstring">
|
|
728
|
+
<div class="discussion">
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
</div>
|
|
733
|
+
</div>
|
|
734
|
+
<div class="tags">
|
|
735
|
+
|
|
736
|
+
<p class="tag_title">Returns:</p>
|
|
737
|
+
<ul class="return">
|
|
738
|
+
|
|
739
|
+
<li>
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
</li>
|
|
747
|
+
|
|
748
|
+
</ul>
|
|
749
|
+
|
|
750
|
+
</div><table class="source_code">
|
|
751
|
+
<tr>
|
|
752
|
+
<td>
|
|
747
753
|
<pre class="lines">
|
|
748
754
|
|
|
749
755
|
|
|
750
756
|
46
|
|
751
757
|
47
|
|
752
|
-
48</pre>
|
|
753
|
-
</td>
|
|
754
|
-
<td>
|
|
758
|
+
48</pre>
|
|
759
|
+
</td>
|
|
760
|
+
<td>
|
|
755
761
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 46</span>
|
|
756
762
|
|
|
757
763
|
<span class='kw'>def</span> <span class='id identifier rubyid_callback?'>callback?</span>
|
|
758
764
|
<span class='ivar'>@callback</span> <span class='op'>!=</span> <span class='kw'>nil</span>
|
|
759
|
-
<span class='kw'>end</span></pre>
|
|
760
|
-
</td>
|
|
761
|
-
</tr>
|
|
762
|
-
</table>
|
|
763
|
-
</div>
|
|
764
|
-
|
|
765
|
-
<div class="method_details ">
|
|
766
|
-
<h3 class="signature " id="define-instance_method">
|
|
767
|
-
|
|
768
|
-
#<strong>define</strong>(path, **options, &callback) ⇒ <tt>Object</tt>
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
</h3><table class="source_code">
|
|
775
|
-
<tr>
|
|
776
|
-
<td>
|
|
765
|
+
<span class='kw'>end</span></pre>
|
|
766
|
+
</td>
|
|
767
|
+
</tr>
|
|
768
|
+
</table>
|
|
769
|
+
</div>
|
|
770
|
+
|
|
771
|
+
<div class="method_details ">
|
|
772
|
+
<h3 class="signature " id="define-instance_method">
|
|
773
|
+
|
|
774
|
+
#<strong>define</strong>(path, **options, &callback) ⇒ <tt>Object</tt>
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
</h3><table class="source_code">
|
|
781
|
+
<tr>
|
|
782
|
+
<td>
|
|
777
783
|
<pre class="lines">
|
|
778
784
|
|
|
779
785
|
|
|
@@ -789,9 +795,9 @@
|
|
|
789
795
|
110
|
|
790
796
|
111
|
|
791
797
|
112
|
|
792
|
-
113</pre>
|
|
793
|
-
</td>
|
|
794
|
-
<td>
|
|
798
|
+
113</pre>
|
|
799
|
+
</td>
|
|
800
|
+
<td>
|
|
795
801
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 101</span>
|
|
796
802
|
|
|
797
803
|
<span class='kw'>def</span> <span class='id identifier rubyid_define'>define</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_callback'>callback</span><span class='rparen'>)</span>
|
|
@@ -806,107 +812,107 @@
|
|
|
806
812
|
<span class='id identifier rubyid_current'>current</span><span class='period'>.</span><span class='id identifier rubyid_callback'>callback</span> <span class='op'>=</span> <span class='id identifier rubyid_callback'>callback</span>
|
|
807
813
|
|
|
808
814
|
<span class='kw'>return</span> <span class='id identifier rubyid_current'>current</span>
|
|
809
|
-
<span class='kw'>end</span></pre>
|
|
810
|
-
</td>
|
|
811
|
-
</tr>
|
|
812
|
-
</table>
|
|
813
|
-
</div>
|
|
814
|
-
|
|
815
|
-
<div class="method_details ">
|
|
816
|
-
<h3 class="signature " id="eql?-instance_method">
|
|
817
|
-
|
|
818
|
-
#<strong>eql?</strong>(other) ⇒ <tt>Boolean</tt>
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
</h3><div class="docstring">
|
|
825
|
-
<div class="discussion">
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
</div>
|
|
830
|
-
</div>
|
|
831
|
-
<div class="tags">
|
|
832
|
-
|
|
833
|
-
<p class="tag_title">Returns:</p>
|
|
834
|
-
<ul class="return">
|
|
835
|
-
|
|
836
|
-
<li>
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
</li>
|
|
844
|
-
|
|
845
|
-
</ul>
|
|
846
|
-
|
|
847
|
-
</div><table class="source_code">
|
|
848
|
-
<tr>
|
|
849
|
-
<td>
|
|
815
|
+
<span class='kw'>end</span></pre>
|
|
816
|
+
</td>
|
|
817
|
+
</tr>
|
|
818
|
+
</table>
|
|
819
|
+
</div>
|
|
820
|
+
|
|
821
|
+
<div class="method_details ">
|
|
822
|
+
<h3 class="signature " id="eql?-instance_method">
|
|
823
|
+
|
|
824
|
+
#<strong>eql?</strong>(other) ⇒ <tt>Boolean</tt>
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
</h3><div class="docstring">
|
|
831
|
+
<div class="discussion">
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
</div>
|
|
836
|
+
</div>
|
|
837
|
+
<div class="tags">
|
|
838
|
+
|
|
839
|
+
<p class="tag_title">Returns:</p>
|
|
840
|
+
<ul class="return">
|
|
841
|
+
|
|
842
|
+
<li>
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
</li>
|
|
850
|
+
|
|
851
|
+
</ul>
|
|
852
|
+
|
|
853
|
+
</div><table class="source_code">
|
|
854
|
+
<tr>
|
|
855
|
+
<td>
|
|
850
856
|
<pre class="lines">
|
|
851
857
|
|
|
852
858
|
|
|
853
859
|
50
|
|
854
860
|
51
|
|
855
|
-
52</pre>
|
|
856
|
-
</td>
|
|
857
|
-
<td>
|
|
861
|
+
52</pre>
|
|
862
|
+
</td>
|
|
863
|
+
<td>
|
|
858
864
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 50</span>
|
|
859
865
|
|
|
860
866
|
<span class='kw'>def</span> <span class='id identifier rubyid_eql?'>eql?</span> <span class='id identifier rubyid_other'>other</span>
|
|
861
867
|
<span class='kw'>super</span> <span class='kw'>and</span> <span class='ivar'>@callback</span><span class='period'>.</span><span class='id identifier rubyid_eql?'>eql?</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_callback'>callback</span> <span class='kw'>and</span> <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_eql?'>eql?</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_options'>options</span>
|
|
862
|
-
<span class='kw'>end</span></pre>
|
|
863
|
-
</td>
|
|
864
|
-
</tr>
|
|
865
|
-
</table>
|
|
866
|
-
</div>
|
|
867
|
-
|
|
868
|
-
<div class="method_details ">
|
|
869
|
-
<h3 class="signature " id="hash-instance_method">
|
|
870
|
-
|
|
871
|
-
#<strong>hash</strong> ⇒ <tt>Object</tt>
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
</h3><table class="source_code">
|
|
878
|
-
<tr>
|
|
879
|
-
<td>
|
|
868
|
+
<span class='kw'>end</span></pre>
|
|
869
|
+
</td>
|
|
870
|
+
</tr>
|
|
871
|
+
</table>
|
|
872
|
+
</div>
|
|
873
|
+
|
|
874
|
+
<div class="method_details ">
|
|
875
|
+
<h3 class="signature " id="hash-instance_method">
|
|
876
|
+
|
|
877
|
+
#<strong>hash</strong> ⇒ <tt>Object</tt>
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
</h3><table class="source_code">
|
|
884
|
+
<tr>
|
|
885
|
+
<td>
|
|
880
886
|
<pre class="lines">
|
|
881
887
|
|
|
882
888
|
|
|
883
889
|
54
|
|
884
890
|
55
|
|
885
|
-
56</pre>
|
|
886
|
-
</td>
|
|
887
|
-
<td>
|
|
891
|
+
56</pre>
|
|
892
|
+
</td>
|
|
893
|
+
<td>
|
|
888
894
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 54</span>
|
|
889
895
|
|
|
890
896
|
<span class='kw'>def</span> <span class='id identifier rubyid_hash'>hash</span>
|
|
891
897
|
<span class='lbracket'>[</span><span class='kw'>super</span><span class='comma'>,</span> <span class='ivar'>@callback</span><span class='comma'>,</span> <span class='ivar'>@options</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_hash'>hash</span>
|
|
892
|
-
<span class='kw'>end</span></pre>
|
|
893
|
-
</td>
|
|
894
|
-
</tr>
|
|
895
|
-
</table>
|
|
896
|
-
</div>
|
|
897
|
-
|
|
898
|
-
<div class="method_details ">
|
|
899
|
-
<h3 class="signature " id="inspect-instance_method">
|
|
900
|
-
|
|
901
|
-
#<strong>inspect</strong> ⇒ <tt>Object</tt>
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
</h3><table class="source_code">
|
|
908
|
-
<tr>
|
|
909
|
-
<td>
|
|
898
|
+
<span class='kw'>end</span></pre>
|
|
899
|
+
</td>
|
|
900
|
+
</tr>
|
|
901
|
+
</table>
|
|
902
|
+
</div>
|
|
903
|
+
|
|
904
|
+
<div class="method_details ">
|
|
905
|
+
<h3 class="signature " id="inspect-instance_method">
|
|
906
|
+
|
|
907
|
+
#<strong>inspect</strong> ⇒ <tt>Object</tt>
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
</h3><table class="source_code">
|
|
914
|
+
<tr>
|
|
915
|
+
<td>
|
|
910
916
|
<pre class="lines">
|
|
911
917
|
|
|
912
918
|
|
|
@@ -916,9 +922,9 @@
|
|
|
916
922
|
118
|
|
917
923
|
119
|
|
918
924
|
120
|
|
919
|
-
121</pre>
|
|
920
|
-
</td>
|
|
921
|
-
<td>
|
|
925
|
+
121</pre>
|
|
926
|
+
</td>
|
|
927
|
+
<td>
|
|
922
928
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 115</span>
|
|
923
929
|
|
|
924
930
|
<span class='kw'>def</span> <span class='id identifier rubyid_inspect'>inspect</span>
|
|
@@ -927,52 +933,52 @@
|
|
|
927
933
|
<span class='kw'>else</span>
|
|
928
934
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'><action </span><span class='tstring_end'>"</span></span> <span class='op'>+</span> <span class='kw'>super</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>></span><span class='tstring_end'>"</span></span>
|
|
929
935
|
<span class='kw'>end</span>
|
|
930
|
-
<span class='kw'>end</span></pre>
|
|
931
|
-
</td>
|
|
932
|
-
</tr>
|
|
933
|
-
</table>
|
|
934
|
-
</div>
|
|
935
|
-
|
|
936
|
-
<div class="method_details ">
|
|
937
|
-
<h3 class="signature " id="matching-instance_method">
|
|
938
|
-
|
|
939
|
-
#<strong>matching</strong>(path, &block) ⇒ <tt>Object</tt>
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
</h3><table class="source_code">
|
|
946
|
-
<tr>
|
|
947
|
-
<td>
|
|
936
|
+
<span class='kw'>end</span></pre>
|
|
937
|
+
</td>
|
|
938
|
+
</tr>
|
|
939
|
+
</table>
|
|
940
|
+
</div>
|
|
941
|
+
|
|
942
|
+
<div class="method_details ">
|
|
943
|
+
<h3 class="signature " id="matching-instance_method">
|
|
944
|
+
|
|
945
|
+
#<strong>matching</strong>(path, &block) ⇒ <tt>Object</tt>
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
</h3><table class="source_code">
|
|
952
|
+
<tr>
|
|
953
|
+
<td>
|
|
948
954
|
<pre class="lines">
|
|
949
955
|
|
|
950
956
|
|
|
951
957
|
97
|
|
952
958
|
98
|
|
953
|
-
99</pre>
|
|
954
|
-
</td>
|
|
955
|
-
<td>
|
|
959
|
+
99</pre>
|
|
960
|
+
</td>
|
|
961
|
+
<td>
|
|
956
962
|
<pre class="code"><span class="info file"># File 'lib/utopia/controller/actions.rb', line 97</span>
|
|
957
963
|
|
|
958
964
|
<span class='kw'>def</span> <span class='id identifier rubyid_matching'>matching</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
|
959
965
|
<span class='id identifier rubyid_to_enum'>to_enum</span><span class='lparen'>(</span><span class='symbol'>:apply</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_a'>to_a</span>
|
|
960
|
-
<span class='kw'>end</span></pre>
|
|
961
|
-
</td>
|
|
962
|
-
</tr>
|
|
963
|
-
</table>
|
|
964
|
-
</div>
|
|
965
|
-
|
|
966
|
-
</div>
|
|
967
|
-
|
|
968
|
-
</div>
|
|
969
|
-
|
|
970
|
-
<div id="footer">
|
|
971
|
-
Generated on Sat Mar
|
|
972
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
973
|
-
0.9.
|
|
974
|
-
</div>
|
|
975
|
-
|
|
976
|
-
</div>
|
|
977
|
-
</body>
|
|
966
|
+
<span class='kw'>end</span></pre>
|
|
967
|
+
</td>
|
|
968
|
+
</tr>
|
|
969
|
+
</table>
|
|
970
|
+
</div>
|
|
971
|
+
|
|
972
|
+
</div>
|
|
973
|
+
|
|
974
|
+
</div>
|
|
975
|
+
|
|
976
|
+
<div id="footer">
|
|
977
|
+
Generated on Sat Mar 9 12:01:54 2019 by
|
|
978
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
979
|
+
0.9.18 (ruby-2.6.1).
|
|
980
|
+
</div>
|
|
981
|
+
|
|
982
|
+
</div>
|
|
983
|
+
</body>
|
|
978
984
|
</html>
|