needle-extras 1.0.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.
@@ -0,0 +1,155 @@
1
+ <html>
2
+ <head>
3
+ <title>Needle-Extras Manual</title>
4
+ <link type="text/css" rel="stylesheet" href="manual.css" />
5
+ </head>
6
+
7
+ <body>
8
+ <div id="banner">
9
+ <table border='0' cellpadding='0' cellspacing='0' width='100%'>
10
+ <tr><td valign='top' align='left'>
11
+ <div class="title">
12
+ <span class="product">Needle-Extras&mdash;</span><br />
13
+ <span class="tagline">for all your needle needs</span>
14
+ </div>
15
+ </td><td valign='middle' align='right'>
16
+ <div class="info">
17
+ Needle-Extras Version: <strong>1.0.0</strong><br />
18
+ Manual Last Updated: <strong>2004-11-18 19:20 GMT</strong>
19
+ </div>
20
+ </td></tr>
21
+ </table>
22
+ </div>
23
+
24
+ <table border='0' width='100%' cellpadding='0' cellspacing='0'>
25
+ <tr><td valign='top'>
26
+
27
+ <div id="navigation">
28
+ <h1>Needle-Extras Manual</h1>
29
+
30
+ <h2>Chapters</h2>
31
+ <ol type="I">
32
+
33
+ <li>
34
+ <a href="chapter-1.html">
35
+ Introduction
36
+ </a>
37
+
38
+ <ol type="1">
39
+
40
+ <li><a href="chapter-1.html#s1">What is Needle-Extras?</a></li>
41
+
42
+ <li><a href="chapter-1.html#s2">How Do I Use It?</a></li>
43
+
44
+ <li><a href="chapter-1.html#s3">License Information</a></li>
45
+
46
+ <li><a href="chapter-1.html#s4">Support</a></li>
47
+
48
+ </ol>
49
+ </li>
50
+
51
+ <li>
52
+ <a href="chapter-2.html">
53
+ AttrInject
54
+ </a>
55
+
56
+ <ol type="1">
57
+
58
+ <li><a href="chapter-2.html#s1">Overview</a></li>
59
+
60
+ <li><a href="chapter-2.html#s2">Usage</a></li>
61
+
62
+ </ol>
63
+ </li>
64
+
65
+ <li>
66
+ <a href="chapter-3.html">
67
+ Multicast
68
+ </a>
69
+
70
+ <ol type="1">
71
+
72
+ <li><a href="chapter-3.html#s1">Overview</a></li>
73
+
74
+ <li><a href="chapter-3.html#s2">Usage</a></li>
75
+
76
+ </ol>
77
+ </li>
78
+
79
+ <li>
80
+ <a href="chapter-4.html">
81
+ RequireLibrary
82
+ </a>
83
+
84
+ <ol type="1">
85
+
86
+ <li><a href="chapter-4.html#s1">Overview</a></li>
87
+
88
+ <li><a href="chapter-4.html#s2">Usage</a></li>
89
+
90
+ </ol>
91
+ </li>
92
+
93
+ </ol>
94
+
95
+ <h2>Other Documentation</h2>
96
+
97
+ <ul>
98
+ <li><a href="http://needle.rubyforge.org/extras/api/index.html">Needle-Extras API</a></li>
99
+ </ul>
100
+
101
+ <div class="license">
102
+ <a href="http://creativecommons.org/licenses/by-sa/2.0/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights" /></a><br />
103
+ This manual is licensed under a <a href="http://creativecommons.org/licenses/by-sa/2.0/">Creative Commons License</a>.
104
+ </div>
105
+ </div>
106
+
107
+ </td><td valign='top' width="100%">
108
+
109
+ <div id="content">
110
+
111
+ <p class="product-manual">Product Manual</p>
112
+
113
+ <p align="center">
114
+ <img src=""
115
+ alt="Needle-Extras: for all your needle needs" />
116
+ </p>
117
+
118
+ <p align="center">
119
+
120
+ Project Page: <a href="http://rubyforge.org/projects/needle">http://rubyforge.org/projects/needle</a><br />
121
+
122
+ User Manual: <a href="http://needle.rubyforge.org/extras">http://needle.rubyforge.org/extras</a><br />
123
+
124
+ API Documentation: <a href="http://needle.rubyforge.org/extras/api">http://needle.rubyforge.org/extras/api</a><br />
125
+
126
+ FAQ Document: <a href="http://needle.rubyforge.org/extras/faq.html">http://needle.rubyforge.org/extras/faq.html</a><br />
127
+
128
+ Needle Wiki: <a href="http://needle.rubyforge.org/wiki/wiki.pl">http://needle.rubyforge.org/wiki/wiki.pl</a><br />
129
+
130
+ </p>
131
+
132
+
133
+ <p align="center"><strong>Recent Updates to This Manual</strong></p>
134
+ <table border='0' cellpadding='0' cellspacing='0' align='center'><tr><td>
135
+ <ul>
136
+
137
+ <li>First Draft</li>
138
+
139
+ </ul>
140
+ </table>
141
+
142
+
143
+ <p class="copyright">
144
+ Copyright &copy; 2004
145
+ Jamis Buck
146
+ (<a href="mailto:jgb3@email.byu.edu">jgb3@email.byu.edu</a>)
147
+ </p>
148
+
149
+
150
+ </div>
151
+
152
+ </td></tr>
153
+ </table>
154
+ </body>
155
+ </html>
@@ -0,0 +1,192 @@
1
+ body {
2
+ background: #FFF;
3
+ font-family: sans-serif;
4
+ color: #000;
5
+ margin: 0px;
6
+ }
7
+
8
+ a {
9
+ color: #00F;
10
+ text-decoration: none;
11
+ }
12
+
13
+ a:hover {
14
+ text-decoration: underline;
15
+ }
16
+
17
+ .product-manual {
18
+ text-align: center;
19
+ font-size: x-large;
20
+ font-variant: small-caps;
21
+ font-weight: bold;
22
+ color: #005;
23
+ }
24
+
25
+ .copyright {
26
+ text-align: center;
27
+ font-size: small;
28
+ font-style: italic;
29
+ color: #005;
30
+ margin-top: 1in;
31
+ }
32
+
33
+ #banner {
34
+ background: #005;
35
+ color: #FFF;
36
+ border-bottom: 1px solid #000;
37
+ padding-top: 0.5em;
38
+ padding-bottom: 0.5em;
39
+ padding-left: 1em;
40
+ margin-bottom: 1em;
41
+ }
42
+
43
+ #banner .title {
44
+ font-size: x-large;
45
+ }
46
+
47
+ #banner .title:first-letter {
48
+ font-size: 250%;
49
+ font-weight: normal;
50
+ float: left;
51
+ margin-top: -7px;
52
+ margin-bottom: -7px;
53
+ }
54
+
55
+ #banner .product {
56
+ font-weight: bold;
57
+ color: #FF7;
58
+ letter-spacing: 0.5em;
59
+ }
60
+
61
+ #banner .tagline {
62
+ font-style: italic;
63
+ font-size: large;
64
+ letter-spacing: 0.1em;
65
+ color: #FFF;
66
+ }
67
+
68
+ #banner .info {
69
+ color: white;
70
+ font-size: small;
71
+ padding-right: 1em;
72
+ }
73
+
74
+ #content {
75
+ margin-left: 0cm;
76
+ margin-right: 1cm;
77
+ }
78
+
79
+ #navigation {
80
+ font-size: x-small;
81
+ border-right: 2px groove black;
82
+ border-top: 2px groove black;
83
+ margin-right: 1em;
84
+ width: 200px;
85
+ height: 100%;
86
+ background: #FFD;
87
+ }
88
+
89
+ #navigation ul, #navigation ol {
90
+ margin-left: 1.5em;
91
+ padding-left: 1.5em;
92
+ }
93
+
94
+ #navigation .license {
95
+ font-size: x-small;
96
+ text-align: center;
97
+ border-top: 1px dashed #005;
98
+ margin-top: 2em;
99
+ padding: 1em;
100
+ }
101
+
102
+ .section {
103
+ margin-bottom: 1em;
104
+ }
105
+
106
+ .section p {
107
+ text-align: justify;
108
+ }
109
+
110
+ #content pre {
111
+ background: #FFE;
112
+ border: 1px dotted #AAA;
113
+ padding: 1em;
114
+ }
115
+
116
+ #content h1 {
117
+ background: #005;
118
+ color: #FFF;
119
+ font-size: x-large;
120
+ font-weight: bold;
121
+ font-variant: small-caps;
122
+ padding: 0.5em;
123
+ border: 1px solid #000;
124
+ margin-top: 0px;
125
+ margin-bottom: 1em;
126
+ }
127
+
128
+ #content h2 {
129
+ background: #005;
130
+ color: #FFF;
131
+ font-size: large;
132
+ font-weight: bold;
133
+ font-variant: small-caps;
134
+ padding: 0.25em;
135
+ padding-left: 0.5em;
136
+ border: 1px solid #000;
137
+ margin-bottom: 1em;
138
+ }
139
+
140
+ #content h3 {
141
+ background: #FFD;
142
+ color: #000;
143
+ font-size: normal;
144
+ font-weight: bold;
145
+ font-variant: small-caps;
146
+ padding: 0.25em;
147
+ padding-left: 0.5em;
148
+ border: 1px dotted #000;
149
+ margin-bottom: 1em;
150
+ }
151
+
152
+ #content h4 {
153
+ background: #FFE;
154
+ color: #000;
155
+ font-size: normal;
156
+ font-weight: bold;
157
+ font-variant: small-caps;
158
+ padding: 0.25em;
159
+ padding-left: 0.5em;
160
+ border: 1px dotted #777;
161
+ margin-bottom: 1em;
162
+ }
163
+
164
+ #navigation h1 {
165
+ margin: 0px;
166
+ padding: 1em;
167
+ color: #005;
168
+ background: transparent;
169
+ font-weight: bold;
170
+ font-size: 150%;
171
+ font-variant: small-caps;
172
+ text-align: center;
173
+ }
174
+
175
+ #navigation h2 {
176
+ margin: 0px;
177
+ margin-bottom: 1em;
178
+ padding: 0.5em;
179
+ border-top: 1px dashed #005;
180
+ border-bottom: 1px dashed #005;
181
+ color: #005;
182
+ background: transparent;
183
+ font-weight: bold;
184
+ font-size: 125%;
185
+ font-variant: small-caps;
186
+ text-align: center;
187
+ }
188
+
189
+ table.list td {
190
+ border-bottom: 1px dotted #005;
191
+ padding-bottom: 5px;
192
+ }
@@ -0,0 +1,18 @@
1
+ <h1><%= object.index %>. <%= object.title %></h1>
2
+
3
+ <% object.sections.each do |section|
4
+
5
+ if section.title %>
6
+
7
+ <h2>
8
+ <a name="s<%= section.index %>"></a>
9
+ <%= object.index %>.<%= section.index %>. <%= section.title %>
10
+ </h2>
11
+
12
+ <% end %>
13
+
14
+ <div class="section">
15
+ <%= section.content.to_html %>
16
+ </div>
17
+
18
+ <% end %>
@@ -0,0 +1,29 @@
1
+ <p class="product-manual">Product Manual</p>
2
+
3
+ <p align="center">
4
+ <img src="<%= manual.product.logo %>"
5
+ alt="<%= manual.product.name %>: <%= manual.product.tagline %>" />
6
+ </p>
7
+
8
+ <p align="center">
9
+ <% manual.product.urls.each do |item| %>
10
+ <%= item.keys.first %>: <a href="<%= item.values.first %>"><%= item.values.first %></a><br />
11
+ <% end %>
12
+ </p>
13
+
14
+ <% if manual.recent_updates && manual.recent_updates.length > 0 %>
15
+ <p align="center"><strong>Recent Updates to This Manual</strong></p>
16
+ <table border='0' cellpadding='0' cellspacing='0' align='center'><tr><td>
17
+ <ul>
18
+ <% manual.recent_updates.each do |update| %>
19
+ <li><%= update %></li>
20
+ <% end %>
21
+ </ul>
22
+ </table>
23
+ <% end %>
24
+
25
+ <p class="copyright">
26
+ Copyright &copy; <%= manual.meta.copyright %>
27
+ <%= manual.meta.author %>
28
+ (<a href="mailto:<%= manual.meta.email %>"><%= manual.meta.email %></a>)
29
+ </p>
@@ -0,0 +1,192 @@
1
+ body {
2
+ background: #FFF;
3
+ font-family: sans-serif;
4
+ color: #000;
5
+ margin: 0px;
6
+ }
7
+
8
+ a {
9
+ color: #00F;
10
+ text-decoration: none;
11
+ }
12
+
13
+ a:hover {
14
+ text-decoration: underline;
15
+ }
16
+
17
+ .product-manual {
18
+ text-align: center;
19
+ font-size: x-large;
20
+ font-variant: small-caps;
21
+ font-weight: bold;
22
+ color: #005;
23
+ }
24
+
25
+ .copyright {
26
+ text-align: center;
27
+ font-size: small;
28
+ font-style: italic;
29
+ color: #005;
30
+ margin-top: 1in;
31
+ }
32
+
33
+ #banner {
34
+ background: #005;
35
+ color: #FFF;
36
+ border-bottom: 1px solid #000;
37
+ padding-top: 0.5em;
38
+ padding-bottom: 0.5em;
39
+ padding-left: 1em;
40
+ margin-bottom: 1em;
41
+ }
42
+
43
+ #banner .title {
44
+ font-size: x-large;
45
+ }
46
+
47
+ #banner .title:first-letter {
48
+ font-size: 250%;
49
+ font-weight: normal;
50
+ float: left;
51
+ margin-top: -7px;
52
+ margin-bottom: -7px;
53
+ }
54
+
55
+ #banner .product {
56
+ font-weight: bold;
57
+ color: #FF7;
58
+ letter-spacing: 0.5em;
59
+ }
60
+
61
+ #banner .tagline {
62
+ font-style: italic;
63
+ font-size: large;
64
+ letter-spacing: 0.1em;
65
+ color: #FFF;
66
+ }
67
+
68
+ #banner .info {
69
+ color: white;
70
+ font-size: small;
71
+ padding-right: 1em;
72
+ }
73
+
74
+ #content {
75
+ margin-left: 0cm;
76
+ margin-right: 1cm;
77
+ }
78
+
79
+ #navigation {
80
+ font-size: x-small;
81
+ border-right: 2px groove black;
82
+ border-top: 2px groove black;
83
+ margin-right: 1em;
84
+ width: 200px;
85
+ height: 100%;
86
+ background: #FFD;
87
+ }
88
+
89
+ #navigation ul, #navigation ol {
90
+ margin-left: 1.5em;
91
+ padding-left: 1.5em;
92
+ }
93
+
94
+ #navigation .license {
95
+ font-size: x-small;
96
+ text-align: center;
97
+ border-top: 1px dashed #005;
98
+ margin-top: 2em;
99
+ padding: 1em;
100
+ }
101
+
102
+ .section {
103
+ margin-bottom: 1em;
104
+ }
105
+
106
+ .section p {
107
+ text-align: justify;
108
+ }
109
+
110
+ #content pre {
111
+ background: #FFE;
112
+ border: 1px dotted #AAA;
113
+ padding: 1em;
114
+ }
115
+
116
+ #content h1 {
117
+ background: #005;
118
+ color: #FFF;
119
+ font-size: x-large;
120
+ font-weight: bold;
121
+ font-variant: small-caps;
122
+ padding: 0.5em;
123
+ border: 1px solid #000;
124
+ margin-top: 0px;
125
+ margin-bottom: 1em;
126
+ }
127
+
128
+ #content h2 {
129
+ background: #005;
130
+ color: #FFF;
131
+ font-size: large;
132
+ font-weight: bold;
133
+ font-variant: small-caps;
134
+ padding: 0.25em;
135
+ padding-left: 0.5em;
136
+ border: 1px solid #000;
137
+ margin-bottom: 1em;
138
+ }
139
+
140
+ #content h3 {
141
+ background: #FFD;
142
+ color: #000;
143
+ font-size: normal;
144
+ font-weight: bold;
145
+ font-variant: small-caps;
146
+ padding: 0.25em;
147
+ padding-left: 0.5em;
148
+ border: 1px dotted #000;
149
+ margin-bottom: 1em;
150
+ }
151
+
152
+ #content h4 {
153
+ background: #FFE;
154
+ color: #000;
155
+ font-size: normal;
156
+ font-weight: bold;
157
+ font-variant: small-caps;
158
+ padding: 0.25em;
159
+ padding-left: 0.5em;
160
+ border: 1px dotted #777;
161
+ margin-bottom: 1em;
162
+ }
163
+
164
+ #navigation h1 {
165
+ margin: 0px;
166
+ padding: 1em;
167
+ color: #005;
168
+ background: transparent;
169
+ font-weight: bold;
170
+ font-size: 150%;
171
+ font-variant: small-caps;
172
+ text-align: center;
173
+ }
174
+
175
+ #navigation h2 {
176
+ margin: 0px;
177
+ margin-bottom: 1em;
178
+ padding: 0.5em;
179
+ border-top: 1px dashed #005;
180
+ border-bottom: 1px dashed #005;
181
+ color: #005;
182
+ background: transparent;
183
+ font-weight: bold;
184
+ font-size: 125%;
185
+ font-variant: small-caps;
186
+ text-align: center;
187
+ }
188
+
189
+ table.list td {
190
+ border-bottom: 1px dotted #005;
191
+ padding-bottom: 5px;
192
+ }