attrtastic 0.1.2 → 0.1.3
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.
- data/.gitignore +1 -0
- data/README.md +49 -0
- data/Rakefile +6 -2
- data/VERSION +1 -1
- data/attrtastic.gemspec +26 -8
- data/doc/Attrtastic/SemanticAttributesBuilder.html +1375 -0
- data/doc/Attrtastic/SemanticAttributesHelper.html +286 -0
- data/doc/Attrtastic.html +119 -0
- data/doc/_index.html +116 -0
- data/doc/class_list.html +36 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +50 -0
- data/doc/css/style.css +268 -0
- data/doc/file.README.html +107 -0
- data/doc/file_list.html +38 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +107 -0
- data/doc/js/app.js +99 -0
- data/doc/js/full_list.js +106 -0
- data/doc/js/jquery.js +19 -0
- data/doc/method_list.html +83 -0
- data/doc/top-level-namespace.html +85 -0
- data/lib/attrtastic.rb +158 -3
- metadata +23 -8
- data/README +0 -0
- data/README.rdoc +0 -17
@@ -0,0 +1,286 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Module: Attrtastic::SemanticAttributesHelper</title>
|
7
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '..';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<script type="text/javascript" charset="utf-8">
|
20
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
+
</script>
|
22
|
+
|
23
|
+
<div id="header">
|
24
|
+
<div id="menu">
|
25
|
+
|
26
|
+
<a href="../_index.html">Index (S)</a> »
|
27
|
+
<span class='title'><a href="../Attrtastic.html" title="Attrtastic (module)">Attrtastic</a></span>
|
28
|
+
»
|
29
|
+
<span class="title">SemanticAttributesHelper</span>
|
30
|
+
|
31
|
+
|
32
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="search">
|
36
|
+
<a id="class_list_link" href="#">Class List</a>
|
37
|
+
<a id="method_list_link" href="#">Method List</a>
|
38
|
+
<a id ="file_list_link" href="#">File List</a>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div class="clear"></div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<iframe id="search_frame"></iframe>
|
45
|
+
|
46
|
+
<div id="content"><h1>Module: Attrtastic::SemanticAttributesHelper
|
47
|
+
|
48
|
+
|
49
|
+
</h1>
|
50
|
+
|
51
|
+
<dl class="box">
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
<dt class="r1 last">Defined in:</dt>
|
60
|
+
<dd class="r1 last">lib/attrtastic.rb</dd>
|
61
|
+
|
62
|
+
</dl>
|
63
|
+
<div class="clear"></div>
|
64
|
+
|
65
|
+
<h2>Overview</h2><div class="docstring">
|
66
|
+
<div class="discussion">
|
67
|
+
<p>
|
68
|
+
Helper which should be included in ActionView. Adds
|
69
|
+
#semantic_attributes_for method, which helps printing attributes for given
|
70
|
+
record, similar to formtastic’s sematnic_form_for
|
71
|
+
</p>
|
72
|
+
|
73
|
+
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
<div class="tags">
|
77
|
+
|
78
|
+
<div class="examples">
|
79
|
+
<h3>Examples:</h3>
|
80
|
+
|
81
|
+
<h4></h4>
|
82
|
+
<pre class="example code"> <span class='const'>ActionView</span><span class='op'>::</span><span class='const'>Base</span><span class='period'>.</span><span class='id send'>send</span> <span class='symbol'>:include</span><span class='comma'>,</span> <span class='const'>Attrtastic</span><span class='op'>::</span><span class='const'>SemanticAttributesHelper</span></pre>
|
83
|
+
|
84
|
+
<h4>
|
85
|
+
Example of useage
|
86
|
+
|
87
|
+
</h4>
|
88
|
+
<pre class="example code"> <% semantic_attributes_for @user do |attr| %>
|
89
|
+
<% attr.attributes "User info" do %>
|
90
|
+
<%= attr.attribute :name %>
|
91
|
+
<%= attr.attribute :email %>
|
92
|
+
<% end %>
|
93
|
+
<% attr.attributes "User details" do %>
|
94
|
+
<%= attr.attribute :weight %>
|
95
|
+
<%= attr.attribute :height %>
|
96
|
+
<%= attr.attribute :age %>
|
97
|
+
<% end %>
|
98
|
+
<% end %></pre>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
|
105
|
+
<h2>Instance Method Summary</h2>
|
106
|
+
|
107
|
+
<ul class="summary">
|
108
|
+
|
109
|
+
<li class="public ">
|
110
|
+
<span class="summary_signature">
|
111
|
+
|
112
|
+
<a href="#semantic_attributes_for-instance_method" title="#semantic_attributes_for (instance method)">- (Object) <strong>semantic_attributes_for</strong>(record, options = {}, &block) {|attr| ... }</a>
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
</span>
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
<span class="summary_desc">
|
125
|
+
Creates attributes for given object.
|
126
|
+
|
127
|
+
</span>
|
128
|
+
|
129
|
+
</li>
|
130
|
+
|
131
|
+
|
132
|
+
</ul>
|
133
|
+
|
134
|
+
|
135
|
+
<div id="instance_method_details" class="method_details_list">
|
136
|
+
<h2>Instance Method Details</h2>
|
137
|
+
|
138
|
+
|
139
|
+
<div class="method_details first">
|
140
|
+
<p class="signature first" id="semantic_attributes_for-instance_method">
|
141
|
+
|
142
|
+
- (<tt>Object</tt>) <strong>semantic_attributes_for</strong>(record, options = {}, &block) {|attr| ... }
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
</p><div class="docstring">
|
147
|
+
<div class="discussion">
|
148
|
+
<p>
|
149
|
+
Creates attributes for given object
|
150
|
+
</p>
|
151
|
+
<p>
|
152
|
+
@param[ActiveRecord] record AR instance record for which to display
|
153
|
+
attributes @param[Hash] options Opions
|
154
|
+
</p>
|
155
|
+
|
156
|
+
|
157
|
+
</div>
|
158
|
+
</div>
|
159
|
+
<div class="tags">
|
160
|
+
|
161
|
+
<div class="examples">
|
162
|
+
<h3>Examples:</h3>
|
163
|
+
|
164
|
+
<h4></h4>
|
165
|
+
<pre class="example code"> <% semantic_attributes_for @user do |attr| %>
|
166
|
+
<% attr.attributes do %>
|
167
|
+
<%= attr.attribute :name %>
|
168
|
+
<%= attr.attribute :email %>
|
169
|
+
<% end %>
|
170
|
+
<% end %></pre>
|
171
|
+
|
172
|
+
</div>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
<h3>Options Hash (<tt>options</tt>):</h3>
|
180
|
+
<ul class="option">
|
181
|
+
|
182
|
+
<li>
|
183
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
184
|
+
<span class="name">:html</span>
|
185
|
+
<span class="default">
|
186
|
+
|
187
|
+
— default:
|
188
|
+
<tt>{}</tt>
|
189
|
+
|
190
|
+
</span>
|
191
|
+
—
|
192
|
+
Hash with optional :class html class name for html block
|
193
|
+
|
194
|
+
|
195
|
+
</tr>
|
196
|
+
|
197
|
+
</ul>
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
<h3>Yields:</h3>
|
202
|
+
<ul class="yield">
|
203
|
+
|
204
|
+
<li>
|
205
|
+
|
206
|
+
<span class='type'>(<tt>attr</tt>)</span>
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
—
|
212
|
+
|
213
|
+
Block which is yield inside of markup
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
</li>
|
218
|
+
|
219
|
+
</ul>
|
220
|
+
<h3>Yield Parameters:</h3>
|
221
|
+
<ul class="yieldparam">
|
222
|
+
|
223
|
+
<li>
|
224
|
+
|
225
|
+
<span class='type'>(<tt><a href="SemanticAttributesBuilder.html" title="Attrtastic::SemanticAttributesBuilder (class)">SemanticAttributesBuilder</a></tt>)</span>
|
226
|
+
|
227
|
+
|
228
|
+
<span class='name'>builder</span>
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
—
|
233
|
+
|
234
|
+
Builder for attributes for given AR record
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
</li>
|
239
|
+
|
240
|
+
</ul>
|
241
|
+
|
242
|
+
</div><table class="source_code">
|
243
|
+
<tr>
|
244
|
+
<td>
|
245
|
+
<pre class="lines">
|
246
|
+
|
247
|
+
|
248
|
+
253
|
249
|
+
254
|
250
|
+
255
|
251
|
+
256
|
252
|
+
257
|
253
|
+
258
|
254
|
+
259
|
255
|
+
260
|
256
|
+
261</pre>
|
257
|
+
</td>
|
258
|
+
<td>
|
259
|
+
<pre class="code"><span class="info file"># File 'lib/attrtastic.rb', line 253</span>
|
260
|
+
|
261
|
+
<span class='kw'>def</span> <span class='id semantic_attributes_for'>semantic_attributes_for</span><span class='lparen'>(</span><span class='id record'>record</span><span class='comma'>,</span> <span class='id 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 block'>block</span><span class='rparen'>)</span>
|
262
|
+
<span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:html</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
263
|
+
|
264
|
+
<span class='id html_class'>html_class</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>attrtastic</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id record'>record</span><span class='period'>.</span><span class='id class'>class</span><span class='period'>.</span><span class='id to_s'>to_s</span><span class='period'>.</span><span class='id underscore'>underscore</span><span class='comma'>,</span> <span class='id options'>options</span><span class='lbracket'>[</span><span class='symbol'>:html</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='symbol'>:class</span><span class='rbracket'>]</span> <span class='rbracket'>]</span><span class='period'>.</span><span class='id compact'>compact</span><span class='period'>.</span><span class='id join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> </span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
265
|
+
|
266
|
+
<span class='id concat'>concat</span><span class='lparen'>(</span><span class='id tag'>tag</span><span class='lparen'>(</span><span class='symbol'>:div</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='symbol'>:class</span> <span class='op'>=></span> <span class='id html_class'>html_class</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='kw'>true</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
267
|
+
<span class='kw'>yield</span> <span class='const'>SemanticAttributesBuilder</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='id record'>record</span><span class='comma'>,</span> <span class='kw'>self</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id block_given?'>block_given?</span>
|
268
|
+
<span class='id concat'>concat</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'></div></span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
269
|
+
<span class='kw'>end</span></pre>
|
270
|
+
</td>
|
271
|
+
</tr>
|
272
|
+
</table>
|
273
|
+
</div>
|
274
|
+
|
275
|
+
</div>
|
276
|
+
|
277
|
+
</div>
|
278
|
+
|
279
|
+
<div id="footer">
|
280
|
+
Generated on Mon Jan 11 16:24:23 2010 by
|
281
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
282
|
+
0.5.3 (ruby-1.9.1).
|
283
|
+
</div>
|
284
|
+
|
285
|
+
</body>
|
286
|
+
</html>
|
data/doc/Attrtastic.html
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Module: Attrtastic</title>
|
7
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<script type="text/javascript" charset="utf-8">
|
20
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
+
</script>
|
22
|
+
|
23
|
+
<div id="header">
|
24
|
+
<div id="menu">
|
25
|
+
|
26
|
+
<a href="_index.html">Index (A)</a> »
|
27
|
+
|
28
|
+
|
29
|
+
<span class="title">Attrtastic</span>
|
30
|
+
|
31
|
+
|
32
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="search">
|
36
|
+
<a id="class_list_link" href="#">Class List</a>
|
37
|
+
<a id="method_list_link" href="#">Method List</a>
|
38
|
+
<a id ="file_list_link" href="#">File List</a>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div class="clear"></div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<iframe id="search_frame"></iframe>
|
45
|
+
|
46
|
+
<div id="content"><h1>Module: Attrtastic
|
47
|
+
|
48
|
+
|
49
|
+
</h1>
|
50
|
+
|
51
|
+
<dl class="box">
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
<dt class="r1 last">Defined in:</dt>
|
60
|
+
<dd class="r1 last">lib/attrtastic.rb</dd>
|
61
|
+
|
62
|
+
</dl>
|
63
|
+
<div class="clear"></div>
|
64
|
+
|
65
|
+
<h2>Overview</h2><div class="docstring">
|
66
|
+
<div class="discussion">
|
67
|
+
<p>
|
68
|
+
Attrtastic, in its assumption, should be similar to formtastic and ease
|
69
|
+
displaying AR informations, help create scaffolded show and index pages.
|
70
|
+
</p>
|
71
|
+
|
72
|
+
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
<div class="tags">
|
76
|
+
<h3>Author:</h3>
|
77
|
+
<ul class="author">
|
78
|
+
|
79
|
+
<li>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
Boruta Mirosław
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
</li>
|
91
|
+
|
92
|
+
</ul>
|
93
|
+
|
94
|
+
</div><h2>Defined Under Namespace</h2>
|
95
|
+
<p class="children">
|
96
|
+
|
97
|
+
|
98
|
+
<strong class="modules">Modules:</strong> <a href="Attrtastic/SemanticAttributesHelper.html" title="Attrtastic::SemanticAttributesHelper (module)">SemanticAttributesHelper</a>
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
<strong class="classes">Classes:</strong> <a href="Attrtastic/SemanticAttributesBuilder.html" title="Attrtastic::SemanticAttributesBuilder (class)">SemanticAttributesBuilder</a>
|
103
|
+
|
104
|
+
|
105
|
+
</p>
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
</div>
|
111
|
+
|
112
|
+
<div id="footer">
|
113
|
+
Generated on Mon Jan 11 16:24:23 2010 by
|
114
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
115
|
+
0.5.3 (ruby-1.9.1).
|
116
|
+
</div>
|
117
|
+
|
118
|
+
</body>
|
119
|
+
</html>
|
data/doc/_index.html
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Documentation by YARD 0.5.3</title>
|
7
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<script type="text/javascript" charset="utf-8">
|
20
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
+
</script>
|
22
|
+
|
23
|
+
<div id="header">
|
24
|
+
<div id="menu">
|
25
|
+
|
26
|
+
|
27
|
+
<span class="title"></span>
|
28
|
+
|
29
|
+
|
30
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div id="search">
|
34
|
+
<a id="class_list_link" href="#">Class List</a>
|
35
|
+
<a id="method_list_link" href="#">Method List</a>
|
36
|
+
<a id ="file_list_link" href="#">File List</a>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div class="clear"></div>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<iframe id="search_frame"></iframe>
|
43
|
+
|
44
|
+
<div id="content"><div id="listing">
|
45
|
+
<h1 class="noborder title">Documentation by YARD 0.5.3</h1>
|
46
|
+
<h1 class="alphaindex">Alphabetic Index</h1>
|
47
|
+
|
48
|
+
|
49
|
+
<h2>File Listing</h2>
|
50
|
+
<ul id="files">
|
51
|
+
|
52
|
+
|
53
|
+
<li class="r1"><a href="index.html" title="README">README</a></li>
|
54
|
+
|
55
|
+
|
56
|
+
</ul>
|
57
|
+
|
58
|
+
<div class="clear"></div>
|
59
|
+
|
60
|
+
<h2>Namespace Listing A-Z</h2>
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
<table>
|
66
|
+
<tr>
|
67
|
+
<td valign='top' width="33%">
|
68
|
+
|
69
|
+
|
70
|
+
<ul id="alpha_A" class="alpha">
|
71
|
+
<li class="letter">A</li>
|
72
|
+
<ul>
|
73
|
+
|
74
|
+
<li>
|
75
|
+
<a href="Attrtastic.html" title="Attrtastic (module)">Attrtastic</a>
|
76
|
+
|
77
|
+
</li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
</ul>
|
81
|
+
|
82
|
+
|
83
|
+
<ul id="alpha_S" class="alpha">
|
84
|
+
<li class="letter">S</li>
|
85
|
+
<ul>
|
86
|
+
|
87
|
+
<li>
|
88
|
+
<a href="Attrtastic/SemanticAttributesBuilder.html" title="Attrtastic::SemanticAttributesBuilder (class)">SemanticAttributesBuilder</a>
|
89
|
+
|
90
|
+
<small>(Attrtastic)</small>
|
91
|
+
|
92
|
+
</li>
|
93
|
+
|
94
|
+
<li>
|
95
|
+
<a href="Attrtastic/SemanticAttributesHelper.html" title="Attrtastic::SemanticAttributesHelper (module)">SemanticAttributesHelper</a>
|
96
|
+
|
97
|
+
<small>(Attrtastic)</small>
|
98
|
+
|
99
|
+
</li>
|
100
|
+
|
101
|
+
</ul>
|
102
|
+
</ul>
|
103
|
+
|
104
|
+
</td>
|
105
|
+
</tr>
|
106
|
+
</table>
|
107
|
+
</div></div>
|
108
|
+
|
109
|
+
<div id="footer">
|
110
|
+
Generated on Mon Jan 11 16:24:22 2010 by
|
111
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
112
|
+
0.5.3 (ruby-1.9.1).
|
113
|
+
</div>
|
114
|
+
|
115
|
+
</body>
|
116
|
+
</html>
|
data/doc/class_list.html
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
9
|
+
<script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
|
10
|
+
<base id="base_target" target="_parent" />
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<script type="text/javascript" charset="utf-8">
|
14
|
+
if (window.top.frames.main) {
|
15
|
+
document.getElementById('base_target').target = 'main';
|
16
|
+
document.body.className = 'frames';
|
17
|
+
}
|
18
|
+
</script>
|
19
|
+
<div id="content">
|
20
|
+
<h1 id="full_list_header">Class List</h1>
|
21
|
+
<div id="nav">
|
22
|
+
<a target="_self" href="class_list.html">Classes</a> |
|
23
|
+
<a target="_self" href="method_list.html">Methods</a> |
|
24
|
+
<a target="_self" href="file_list.html">Files</a>
|
25
|
+
</div>
|
26
|
+
<div id="search">Search: <input type="text" /></div>
|
27
|
+
|
28
|
+
<ul id="full_list" class="class">
|
29
|
+
<li><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></li>
|
30
|
+
<li><a class='toggle'></a> <a href="Attrtastic.html" title="Attrtastic (module)">Attrtastic</a><small class='search_info'>Top Level Namespace</small></li><ul><li><a href="Attrtastic/SemanticAttributesBuilder.html" title="Attrtastic::SemanticAttributesBuilder (class)">SemanticAttributesBuilder</a> < Object<small class='search_info'>Attrtastic</small></li><li><a href="Attrtastic/SemanticAttributesHelper.html" title="Attrtastic::SemanticAttributesHelper (module)">SemanticAttributesHelper</a><small class='search_info'>Attrtastic</small></li></ul>
|
31
|
+
|
32
|
+
</ul>
|
33
|
+
</div>
|
34
|
+
</body>
|
35
|
+
</html>
|
36
|
+
|
data/doc/css/common.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
/* Override this file with custom rules */
|
@@ -0,0 +1,50 @@
|
|
1
|
+
body {
|
2
|
+
margin: 0;
|
3
|
+
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
4
|
+
font-size: 13px;
|
5
|
+
height: 101%;
|
6
|
+
overflow-x: hidden;
|
7
|
+
}
|
8
|
+
|
9
|
+
h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
|
10
|
+
.clear { clear: both; }
|
11
|
+
#search { position: absolute; right: 5px; top: 9px; }
|
12
|
+
#full_list { padding: 0; list-style: none; margin-left: 0; }
|
13
|
+
#full_list ul { padding: 0; }
|
14
|
+
#full_list li { padding: 5px; padding-left: 12px; margin: 0; font-size: 1.1em; list-style: none; }
|
15
|
+
#noresults { display: none; padding: 7px 12px; }
|
16
|
+
ul.collapsed ul, ul.collapsed li { display: none; }
|
17
|
+
li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
|
18
|
+
li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
|
19
|
+
li { color: #888; cursor: pointer; }
|
20
|
+
li.deprecated { text-decoration: line-through; font-style: italic; }
|
21
|
+
li.r1 { background: #f0f0f0; }
|
22
|
+
li.r2 { background: #fafafa; }
|
23
|
+
li:hover { background: #ddd; }
|
24
|
+
li small:before { content: "("; }
|
25
|
+
li small:after { content: ")"; }
|
26
|
+
li small.search_info { display: none; }
|
27
|
+
a:link, a:visited { text-decoration: none; color: #05a; }
|
28
|
+
li.clicked { background: #05a; color: #ccc; }
|
29
|
+
li.clicked a:link, li.clicked a:visited { color: #eee; }
|
30
|
+
li.clicked a.toggle { opacity: 0.5; background-position: bottom right; }
|
31
|
+
li.collapsed.clicked a.toggle { background-position: top right; }
|
32
|
+
#search input { border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
|
33
|
+
#nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; }
|
34
|
+
#nav a:link, #nav a:visited { color: #358; }
|
35
|
+
#nav a:hover { background: transparent; color: #5af; }
|
36
|
+
|
37
|
+
.frames #content h1 { margin-top: 0; }
|
38
|
+
.frames li { white-space: nowrap; cursor: normal; }
|
39
|
+
.frames li small { display: block; font-size: 0.8em; }
|
40
|
+
.frames li small:before { content: ""; }
|
41
|
+
.frames li small:after { content: ""; }
|
42
|
+
.frames li small.search_info { display: none; }
|
43
|
+
.frames #search { position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; }
|
44
|
+
.frames #search input { width: 110px; }
|
45
|
+
.frames #nav { display: block; }
|
46
|
+
|
47
|
+
#full_list.insearch li { display: none; }
|
48
|
+
#full_list.insearch li.found { display: list-item; padding-left: 10px; }
|
49
|
+
#full_list.insearch li a.toggle { display: none; }
|
50
|
+
#full_list.insearch li small.search_info { display: block; }
|