attrtastic 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,17 +2,27 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
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" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Module: Attrtastic::SemanticAttributesHelper
8
+
9
+ &mdash; Documentation by YARD 0.7.2
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
9
16
 
10
17
  <script type="text/javascript" charset="utf-8">
11
18
  relpath = '..';
12
19
  if (relpath != '') relpath += '/';
13
20
  </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>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
+
16
26
 
17
27
  </head>
18
28
  <body>
@@ -33,11 +43,14 @@
33
43
  </div>
34
44
 
35
45
  <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>
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
39
53
  </div>
40
-
41
54
  <div class="clear"></div>
42
55
  </div>
43
56
 
@@ -104,6 +117,8 @@ Example of useage
104
117
  </div>
105
118
 
106
119
 
120
+
121
+
107
122
 
108
123
  <h2>
109
124
  Instance Method Summary
@@ -184,10 +199,10 @@ attributes @param[Hash] options Opions
184
199
 
185
200
  <li>
186
201
 
187
- <span class='type'>(<tt>Hash</tt>)</span>
202
+ <span class='name'>options</span>
188
203
 
189
204
 
190
- <span class='name'>options</span>
205
+ <span class='type'>(<tt>Hash</tt>)</span>
191
206
 
192
207
 
193
208
  <em class="default">(defaults to: <tt>{}</tt>)</em>
@@ -212,8 +227,8 @@ a customizable set of options
212
227
  <ul class="option">
213
228
 
214
229
  <li>
215
- <span class="type">(<tt>Hash</tt>)</span>
216
230
  <span class="name">:html</span>
231
+ <span class="type">(<tt>Hash</tt>)</span>
217
232
  <span class="default">
218
233
 
219
234
  &mdash; default:
@@ -233,8 +248,8 @@ Hash with optional :class html class name for html block
233
248
 
234
249
  <li>
235
250
 
236
- <span class='type'>(<tt>attr</tt>)</span>
237
251
 
252
+ <span class='type'>(<tt>attr</tt>)</span>
238
253
 
239
254
 
240
255
 
@@ -252,10 +267,10 @@ Block which is yield inside of markup
252
267
 
253
268
  <li>
254
269
 
255
- <span class='type'>(<tt><span class='object_link'><a href="SemanticAttributesBuilder.html" title="Attrtastic::SemanticAttributesBuilder (class)">SemanticAttributesBuilder</a></span></tt>)</span>
270
+ <span class='name'>builder</span>
256
271
 
257
272
 
258
- <span class='name'>builder</span>
273
+ <span class='type'>(<tt><span class='object_link'><a href="SemanticAttributesBuilder.html" title="Attrtastic::SemanticAttributesBuilder (class)">SemanticAttributesBuilder</a></span></tt>)</span>
259
274
 
260
275
 
261
276
 
@@ -311,9 +326,9 @@ Builder for attributes for given AR record
311
326
  </div>
312
327
 
313
328
  <div id="footer">
314
- Generated on Fri Dec 3 21:43:44 2010 by
329
+ Generated on Sat Jun 25 13:32:39 2011 by
315
330
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
316
- 0.6.3 (ruby-1.9.2).
331
+ 0.7.2 (ruby-1.9.2).
317
332
  </div>
318
333
 
319
334
  </body>
@@ -2,17 +2,25 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
4
  <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <title>Documentation by YARD 0.6.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" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Documentation by YARD 0.7.2
8
+
9
+ </title>
10
+
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
12
+
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
14
 
10
15
  <script type="text/javascript" charset="utf-8">
11
16
  relpath = '';
12
17
  if (relpath != '') relpath += '/';
13
18
  </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>
19
+
20
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
23
+
16
24
 
17
25
  </head>
18
26
  <body>
@@ -31,85 +39,104 @@
31
39
  </div>
32
40
 
33
41
  <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>
42
+
43
+ <a id="class_list_link" href="#">Class List</a>
44
+
45
+ <a id="method_list_link" href="#">Method List</a>
46
+
47
+ <a id="file_list_link" href="#">File List</a>
48
+
37
49
  </div>
38
-
39
50
  <div class="clear"></div>
40
51
  </div>
41
52
 
42
53
  <iframe id="search_frame"></iframe>
43
54
 
44
- <div id="content"><div id="listing">
45
- <h1 class="noborder title">Documentation by YARD 0.6.3</h1>
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.7.2</h1>
56
+ <div id="listing">
46
57
  <h1 class="alphaindex">Alphabetic Index</h1>
47
58
 
59
+ <h2>File Listing</h2>
60
+ <ul id="files">
48
61
 
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
-
62
+
63
+ <li class="r1"><a href="index.html" title="README">README</a></li>
55
64
 
56
- </ul>
57
65
 
58
- <div class="clear"></div>
66
+ </ul>
59
67
 
60
- <h2>Namespace Listing A-Z</h2>
61
-
62
-
68
+ <div class="clear"></div>
69
+ <h2>Namespace Listing A-Z</h2>
63
70
 
64
-
65
- <table>
66
- <tr>
67
- <td valign='top' width="33%">
71
+
72
+
73
+
74
+ <table>
75
+ <tr>
76
+ <td valign='top' width="33%">
77
+
68
78
 
69
-
70
- <ul id="alpha_A" class="alpha">
71
- <li class="letter">A</li>
72
- <ul>
73
-
74
- <li>
75
- <span class='object_link'><a href="Attrtastic.html" title="Attrtastic (module)">Attrtastic</a></span>
76
-
77
- </li>
78
-
79
- </ul>
79
+ <ul id="alpha_A" class="alpha">
80
+ <li class="letter">A</li>
81
+ <ul>
82
+
83
+ <li>
84
+ <span class='object_link'><a href="Attrtastic.html" title="Attrtastic (module)">Attrtastic</a></span>
85
+
86
+ </li>
87
+
80
88
  </ul>
89
+ </ul>
90
+
81
91
 
82
-
83
- <ul id="alpha_S" class="alpha">
84
- <li class="letter">S</li>
85
- <ul>
86
-
87
- <li>
88
- <span class='object_link'><a href="Attrtastic/SemanticAttributesBuilder.html" title="Attrtastic::SemanticAttributesBuilder (class)">SemanticAttributesBuilder</a></span>
89
-
90
- <small>(Attrtastic)</small>
91
-
92
- </li>
93
-
94
- <li>
95
- <span class='object_link'><a href="Attrtastic/SemanticAttributesHelper.html" title="Attrtastic::SemanticAttributesHelper (module)">SemanticAttributesHelper</a></span>
96
-
97
- <small>(Attrtastic)</small>
98
-
99
- </li>
100
-
101
- </ul>
92
+ <ul id="alpha_R" class="alpha">
93
+ <li class="letter">R</li>
94
+ <ul>
95
+
96
+ <li>
97
+ <span class='object_link'><a href="Attrtastic/Railtie.html" title="Attrtastic::Railtie (class)">Railtie</a></span>
98
+
99
+ <small>(Attrtastic)</small>
100
+
101
+ </li>
102
+
102
103
  </ul>
104
+ </ul>
105
+
103
106
 
104
- </td>
105
- </tr>
106
- </table>
107
- </div></div>
107
+ <ul id="alpha_S" class="alpha">
108
+ <li class="letter">S</li>
109
+ <ul>
110
+
111
+ <li>
112
+ <span class='object_link'><a href="Attrtastic/SemanticAttributesBuilder.html" title="Attrtastic::SemanticAttributesBuilder (class)">SemanticAttributesBuilder</a></span>
113
+
114
+ <small>(Attrtastic)</small>
115
+
116
+ </li>
117
+
118
+ <li>
119
+ <span class='object_link'><a href="Attrtastic/SemanticAttributesHelper.html" title="Attrtastic::SemanticAttributesHelper (module)">SemanticAttributesHelper</a></span>
120
+
121
+ <small>(Attrtastic)</small>
122
+
123
+ </li>
124
+
125
+ </ul>
126
+ </ul>
127
+
128
+ </td>
129
+ </tr>
130
+ </table>
131
+
132
+ </div>
133
+
134
+ </div>
108
135
 
109
136
  <div id="footer">
110
- Generated on Fri Dec 3 21:43:44 2010 by
137
+ Generated on Sat Jun 25 13:32:39 2011 by
111
138
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
- 0.6.3 (ruby-1.9.2).
139
+ 0.7.2 (ruby-1.9.2).
113
140
  </div>
114
141
 
115
142
  </body>
@@ -2,11 +2,19 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html>
4
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>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
+
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
+
11
+
12
+
13
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
+
17
+
10
18
  <base id="base_target" target="_parent" />
11
19
  </head>
12
20
  <body>
@@ -19,18 +27,21 @@
19
27
  <div id="content">
20
28
  <h1 id="full_list_header">Class List</h1>
21
29
  <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>
30
+
31
+ <a target="_self" href="class_list.html">Classes</a>
32
+
33
+ <a target="_self" href="method_list.html">Methods</a>
34
+
35
+ <a target="_self" href="file_list.html">Files</a>
36
+
25
37
  </div>
26
38
  <div id="search">Search: <input type="text" /></div>
27
39
 
28
40
  <ul id="full_list" class="class">
29
41
  <li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
30
- <li><a class='toggle'></a> <span class='object_link'><a href="Attrtastic.html" title="Attrtastic (module)">Attrtastic</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Attrtastic/SemanticAttributesBuilder.html" title="Attrtastic::SemanticAttributesBuilder (class)">SemanticAttributesBuilder</a></span> &lt; Object<small class='search_info'>Attrtastic</small></li><li><span class='object_link'><a href="Attrtastic/SemanticAttributesHelper.html" title="Attrtastic::SemanticAttributesHelper (module)">SemanticAttributesHelper</a></span><small class='search_info'>Attrtastic</small></li></ul>
42
+ <li><a class='toggle'></a> <span class='object_link'><a href="Attrtastic.html" title="Attrtastic (module)">Attrtastic</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Attrtastic/Railtie.html" title="Attrtastic::Railtie (class)">Railtie</a></span> &lt; Railtie<small class='search_info'>Attrtastic</small></li><li><span class='object_link'><a href="Attrtastic/SemanticAttributesBuilder.html" title="Attrtastic::SemanticAttributesBuilder (class)">SemanticAttributesBuilder</a></span> &lt; Object<small class='search_info'>Attrtastic</small></li><li><span class='object_link'><a href="Attrtastic/SemanticAttributesHelper.html" title="Attrtastic::SemanticAttributesHelper (module)">SemanticAttributesHelper</a></span><small class='search_info'>Attrtastic</small></li></ul>
31
43
 
32
44
  </ul>
33
45
  </div>
34
46
  </body>
35
47
  </html>
36
-
@@ -23,7 +23,16 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
23
23
  .docstring h1 { font-size: 1.2em; }
24
24
  .docstring h2 { font-size: 1.1em; }
25
25
  .docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
26
- .docstring .object_link { font-family: monospace; }
26
+ .summary_desc .object_link, .docstring .object_link { font-family: monospace; }
27
+
28
+ /* style for <ul> */
29
+ #filecontents li > p, .docstring li > p { margin: 0px; }
30
+ #filecontents ul, .docstring ul { padding-left: 20px; }
31
+ /* style for <dl> */
32
+ #filecontents dl, .docstring dl { border: 1px solid #ccc; }
33
+ #filecontents dt, .docstring dt { background: #ddd; font-weight: bold; padding: 3px 5px; }
34
+ #filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
35
+ #filecontents dd > p, .docstring dd > p { margin: 0px; }
27
36
 
28
37
  .note {
29
38
  color: #222;
@@ -61,23 +70,25 @@ p.inherited {
61
70
  margin-left: 25px;
62
71
  }
63
72
 
64
- dl.box {
73
+ #filecontents dl.box, dl.box {
74
+ border: 0;
65
75
  width: 520px;
66
76
  font-size: 1em;
67
77
  }
68
- dl.box dt {
78
+ #filecontents dl.box dt, dl.box dt {
69
79
  float: left;
70
80
  display: block;
71
81
  width: 100px;
72
82
  margin: 0;
73
83
  text-align: right;
74
84
  font-weight: bold;
85
+ background: transparent;
75
86
  border: 1px solid #aaa;
76
87
  border-width: 1px 0px 0px 1px;
77
88
  padding: 6px 0;
78
89
  padding-right: 10px;
79
90
  }
80
- dl.box dd {
91
+ #filecontents dl.box dd, dl.box dd {
81
92
  float: left;
82
93
  display: block;
83
94
  width: 380px;
@@ -87,10 +98,10 @@ dl.box dd {
87
98
  border: 1px solid #aaa;
88
99
  border-width: 1px 1px 0 0;
89
100
  }
90
- dl.box .last {
101
+ #filecontents dl.box .last, dl.box .last {
91
102
  border-bottom: 1px solid #aaa;
92
103
  }
93
- dl.box .r1 { background: #eee; }
104
+ #filecontents dl.box .r1, dl.box .r1 { background: #eee; }
94
105
 
95
106
  ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
96
107
  #files { padding-left: 15px; font-size: 1.1em; }
@@ -168,7 +179,7 @@ ul.summary li { margin-bottom: 5px; }
168
179
  -moz-border-radius: 3px; -webkit-border-radius: 3px;
169
180
  }
170
181
  .summary_signature:hover { background: #eeeeff; cursor: pointer; }
171
- ul.summary.compact li { display: inline; margin-right: 5px; line-height: 2.6em;}
182
+ ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
172
183
  ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
173
184
  #content .summary_signature:hover a:link,
174
185
  #content .summary_signature:hover a:visited {
@@ -252,8 +263,8 @@ li.r2 { background: #fafafa; }
252
263
  -webkit-border-radius: 2px;
253
264
  }
254
265
 
255
- #content ul.summary li.deprecated a:link,
256
- #content ul.summary li.deprecated a:visited { text-decoration: line-through; font-style: italic; }
266
+ #content ul.summary li.deprecated .summary_signature a:link,
267
+ #content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
257
268
 
258
269
  #toc {
259
270
  padding: 20px; padding-right: 30px; border: 1px solid #ddd; float: right; background: #fff; margin-left: 20px; margin-bottom: 20px;
@@ -307,4 +318,3 @@ pre.code .id.backref,
307
318
  pre.code .id.nth_ref { color: #6D79DE; }
308
319
  pre.code .regexp, .dregexp { color: #036A07; }
309
320
  pre.code a { border-bottom: 1px dotted #bbf; }
310
-
@@ -2,17 +2,27 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
4
  <head>
5
- <meta name="Content-Type" content="text/html; charset=utf-8" />
6
- <title>Documentation by YARD 0.6.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" />
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
+ <title>
7
+ File: README
8
+
9
+ &mdash; Documentation by YARD 0.7.2
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
16
 
10
17
  <script type="text/javascript" charset="utf-8">
11
18
  relpath = '';
12
19
  if (relpath != '') relpath += '/';
13
20
  </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>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
+
16
26
 
17
27
  </head>
18
28
  <body>
@@ -31,11 +41,14 @@
31
41
  </div>
32
42
 
33
43
  <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>
44
+
45
+ <a id="class_list_link" href="#">Class List</a>
46
+
47
+ <a id="method_list_link" href="#">Method List</a>
48
+
49
+ <a id="file_list_link" href="#">File List</a>
50
+
37
51
  </div>
38
-
39
52
  <div class="clear"></div>
40
53
  </div>
41
54
 
@@ -81,7 +94,7 @@ this gem.</p>
81
94
  </pre>
82
95
 
83
96
  <p>By default attributes which returns <code>#blank?</code> value are ommited, unless
84
- <code>:display_blank =&gt; true</code> is added to <code>#attribute</code>.</p>
97
+ <code>:display_empty =&gt; true</code> is added to <code>#attribute</code>.</p>
85
98
 
86
99
  <h2>Note on Patches/Pull Requests</h2>
87
100
 
@@ -98,12 +111,12 @@ future version unintentionally.</li>
98
111
 
99
112
  <h2>Copyright</h2>
100
113
 
101
- <p>Copyright (c) 2009-2010 Boruta Miroslaw. See LICENSE for details.</p></div></div>
114
+ <p>Copyright (c) 2009-2011 Boruta Mirosław. See LICENSE for details.</p></div></div>
102
115
 
103
116
  <div id="footer">
104
- Generated on Fri Dec 3 21:43:44 2010 by
117
+ Generated on Sat Jun 25 13:32:39 2011 by
105
118
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
106
- 0.6.3 (ruby-1.9.2).
119
+ 0.7.2 (ruby-1.9.2).
107
120
  </div>
108
121
 
109
122
  </body>