sydney 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/.gitignore +1 -2
  2. data/NEWS.md +6 -0
  3. data/README.md +21 -10
  4. data/doc/Gemfile.html +107 -0
  5. data/doc/LICENSE.html +125 -0
  6. data/doc/Rakefile.html +105 -0
  7. data/doc/Sydney.html +276 -0
  8. data/doc/SydneyAliasFile.html +141 -0
  9. data/doc/SydneyAliasFile/AliasComment.html +193 -0
  10. data/doc/SydneyAliasFile/AliasDefinition.html +259 -0
  11. data/doc/SydneyAliasFile/AliasEntry.html +257 -0
  12. data/doc/SydneyAliasFile/Document.html +193 -0
  13. data/doc/SydneyAliasFile/Section.html +225 -0
  14. data/doc/SydneyAliasFile/SectionComment.html +193 -0
  15. data/doc/SydneyAliasFile/SyntaxNode.html +193 -0
  16. data/doc/created.rid +15 -0
  17. data/doc/images/add.png +0 -0
  18. data/doc/images/brick.png +0 -0
  19. data/doc/images/brick_link.png +0 -0
  20. data/doc/images/bug.png +0 -0
  21. data/doc/images/bullet_black.png +0 -0
  22. data/doc/images/bullet_toggle_minus.png +0 -0
  23. data/doc/images/bullet_toggle_plus.png +0 -0
  24. data/doc/images/date.png +0 -0
  25. data/doc/images/delete.png +0 -0
  26. data/doc/images/find.png +0 -0
  27. data/doc/images/loadingAnimation.gif +0 -0
  28. data/doc/images/macFFBgHack.png +0 -0
  29. data/doc/images/package.png +0 -0
  30. data/doc/images/page_green.png +0 -0
  31. data/doc/images/page_white_text.png +0 -0
  32. data/doc/images/page_white_width.png +0 -0
  33. data/doc/images/plugin.png +0 -0
  34. data/doc/images/ruby.png +0 -0
  35. data/doc/images/tag_blue.png +0 -0
  36. data/doc/images/tag_green.png +0 -0
  37. data/doc/images/transparent.png +0 -0
  38. data/doc/images/wrench.png +0 -0
  39. data/doc/images/wrench_orange.png +0 -0
  40. data/doc/images/zoom.png +0 -0
  41. data/doc/index.html +100 -0
  42. data/doc/js/darkfish.js +153 -0
  43. data/doc/js/jquery.js +18 -0
  44. data/doc/js/navigation.js +142 -0
  45. data/doc/js/search.js +94 -0
  46. data/doc/js/search_index.js +1 -0
  47. data/doc/js/searcher.js +228 -0
  48. data/doc/rdoc.css +543 -0
  49. data/doc/spec/fixtures/aliases.html +123 -0
  50. data/doc/table_of_contents.html +116 -0
  51. data/lib/sydney.rb +23 -1
  52. data/lib/sydney/sydney_alias_file/node_extensions.rb +18 -0
  53. data/lib/sydney/version.rb +1 -1
  54. data/spec/sydney_alias_file/alias_definition_spec.rb +6 -0
  55. data/spec/sydney_alias_file/alias_entry_spec.rb +1 -0
  56. data/spec/sydney_spec.rb +23 -8
  57. metadata +49 -1
@@ -0,0 +1,257 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class SydneyAliasFile::AliasEntry - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../index.html">Home</a>
28
+ <a href="../table_of_contents.html#classes">Classes</a>
29
+ <a href="../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/sydney/sydney_alias_file/node_extensions.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link"><a href="SyntaxNode.html">SydneyAliasFile::SyntaxNode</a>
63
+
64
+ </nav>
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-i-alias">#alias</a>
74
+
75
+ <li><a href="#method-i-comment">#comment</a>
76
+
77
+ <li><a href="#method-i-comments">#comments</a>
78
+
79
+ </ul>
80
+ </nav>
81
+
82
+ </div>
83
+
84
+ <div id="project-metadata">
85
+ <nav id="fileindex-section" class="section project-section">
86
+ <h3 class="section-header">Pages</h3>
87
+
88
+ <ul>
89
+
90
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
91
+
92
+ <li class="file"><a href="../LICENSE.html">LICENSE</a>
93
+
94
+ <li class="file"><a href="../Rakefile.html">Rakefile</a>
95
+
96
+ <li class="file"><a href="../spec/fixtures/aliases.html">aliases</a>
97
+
98
+ </ul>
99
+ </nav>
100
+
101
+ <nav id="classindex-section" class="section project-section">
102
+ <h3 class="section-header">Class and Module Index</h3>
103
+
104
+ <ul class="link-list">
105
+
106
+ <li><a href="../SydneyAliasFile.html">SydneyAliasFile</a>
107
+
108
+ <li><a href="../SydneyAliasFile/AliasComment.html">SydneyAliasFile::AliasComment</a>
109
+
110
+ <li><a href="../SydneyAliasFile/AliasDefinition.html">SydneyAliasFile::AliasDefinition</a>
111
+
112
+ <li><a href="../SydneyAliasFile/AliasEntry.html">SydneyAliasFile::AliasEntry</a>
113
+
114
+ <li><a href="../SydneyAliasFile/Document.html">SydneyAliasFile::Document</a>
115
+
116
+ <li><a href="../SydneyAliasFile/Section.html">SydneyAliasFile::Section</a>
117
+
118
+ <li><a href="../SydneyAliasFile/SectionComment.html">SydneyAliasFile::SectionComment</a>
119
+
120
+ <li><a href="../SydneyAliasFile/SyntaxNode.html">SydneyAliasFile::SyntaxNode</a>
121
+
122
+ <li><a href="../Sydney.html">Sydney</a>
123
+
124
+ </ul>
125
+ </nav>
126
+
127
+ </div>
128
+ </nav>
129
+
130
+ <div id="documentation">
131
+ <h1 class="class">class SydneyAliasFile::AliasEntry</h1>
132
+
133
+ <div id="description" class="description">
134
+
135
+ </div><!-- description -->
136
+
137
+
138
+
139
+
140
+ <section id="5Buntitled-5D" class="documentation-section">
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+ <!-- Methods -->
150
+
151
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
152
+ <h3 class="section-header">Public Instance Methods</h3>
153
+
154
+
155
+ <div id="method-i-alias" class="method-detail ">
156
+
157
+ <div class="method-heading">
158
+ <span class="method-name">alias</span><span
159
+ class="method-args">()</span>
160
+ <span class="method-click-advice">click to toggle source</span>
161
+ </div>
162
+
163
+
164
+ <div class="method-description">
165
+
166
+ <p>Return the child <a href="AliasDefinition.html">AliasDefinition</a> node</p>
167
+
168
+
169
+
170
+ <div class="method-source-code" id="alias-source">
171
+ <pre><span class="ruby-comment"># File lib/sydney/sydney_alias_file/node_extensions.rb, line 52</span>
172
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">alias</span>
173
+ <span class="ruby-identifier">definition</span>
174
+ <span class="ruby-keyword">end</span></pre>
175
+ </div><!-- alias-source -->
176
+
177
+ </div>
178
+
179
+
180
+
181
+
182
+ </div><!-- alias-method -->
183
+
184
+
185
+ <div id="method-i-comment" class="method-detail ">
186
+
187
+ <div class="method-heading">
188
+ <span class="method-name">comment</span><span
189
+ class="method-args">()</span>
190
+ <span class="method-click-advice">click to toggle source</span>
191
+ </div>
192
+
193
+
194
+ <div class="method-description">
195
+
196
+ <p>Return the comments as a string</p>
197
+
198
+
199
+
200
+ <div class="method-source-code" id="comment-source">
201
+ <pre><span class="ruby-comment"># File lib/sydney/sydney_alias_file/node_extensions.rb, line 47</span>
202
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">comment</span>
203
+ <span class="ruby-identifier">comments</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:to_s</span>).<span class="ruby-identifier">join</span>(<span class="ruby-string">' '</span>)
204
+ <span class="ruby-keyword">end</span></pre>
205
+ </div><!-- comment-source -->
206
+
207
+ </div>
208
+
209
+
210
+
211
+
212
+ </div><!-- comment-method -->
213
+
214
+
215
+ <div id="method-i-comments" class="method-detail ">
216
+
217
+ <div class="method-heading">
218
+ <span class="method-name">comments</span><span
219
+ class="method-args">()</span>
220
+ <span class="method-click-advice">click to toggle source</span>
221
+ </div>
222
+
223
+
224
+ <div class="method-description">
225
+
226
+ <p>Return the comments as an array</p>
227
+
228
+
229
+
230
+ <div class="method-source-code" id="comments-source">
231
+ <pre><span class="ruby-comment"># File lib/sydney/sydney_alias_file/node_extensions.rb, line 42</span>
232
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">comments</span>
233
+ <span class="ruby-identifier">entry_comments</span>.<span class="ruby-identifier">elements</span>
234
+ <span class="ruby-keyword">end</span></pre>
235
+ </div><!-- comments-source -->
236
+
237
+ </div>
238
+
239
+
240
+
241
+
242
+ </div><!-- comments-method -->
243
+
244
+
245
+ </section><!-- public-instance-method-details -->
246
+
247
+ </section><!-- 5Buntitled-5D -->
248
+
249
+ </div><!-- documentation -->
250
+
251
+
252
+ <footer id="validator-badges">
253
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
254
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
255
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
256
+ </footer>
257
+
@@ -0,0 +1,193 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class SydneyAliasFile::Document - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../index.html">Home</a>
28
+ <a href="../table_of_contents.html#classes">Classes</a>
29
+ <a href="../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/sydney/sydney_alias_file/node_extensions.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link"><a href="SyntaxNode.html">SydneyAliasFile::SyntaxNode</a>
63
+
64
+ </nav>
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-i-sections">#sections</a>
74
+
75
+ </ul>
76
+ </nav>
77
+
78
+ </div>
79
+
80
+ <div id="project-metadata">
81
+ <nav id="fileindex-section" class="section project-section">
82
+ <h3 class="section-header">Pages</h3>
83
+
84
+ <ul>
85
+
86
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
87
+
88
+ <li class="file"><a href="../LICENSE.html">LICENSE</a>
89
+
90
+ <li class="file"><a href="../Rakefile.html">Rakefile</a>
91
+
92
+ <li class="file"><a href="../spec/fixtures/aliases.html">aliases</a>
93
+
94
+ </ul>
95
+ </nav>
96
+
97
+ <nav id="classindex-section" class="section project-section">
98
+ <h3 class="section-header">Class and Module Index</h3>
99
+
100
+ <ul class="link-list">
101
+
102
+ <li><a href="../SydneyAliasFile.html">SydneyAliasFile</a>
103
+
104
+ <li><a href="../SydneyAliasFile/AliasComment.html">SydneyAliasFile::AliasComment</a>
105
+
106
+ <li><a href="../SydneyAliasFile/AliasDefinition.html">SydneyAliasFile::AliasDefinition</a>
107
+
108
+ <li><a href="../SydneyAliasFile/AliasEntry.html">SydneyAliasFile::AliasEntry</a>
109
+
110
+ <li><a href="../SydneyAliasFile/Document.html">SydneyAliasFile::Document</a>
111
+
112
+ <li><a href="../SydneyAliasFile/Section.html">SydneyAliasFile::Section</a>
113
+
114
+ <li><a href="../SydneyAliasFile/SectionComment.html">SydneyAliasFile::SectionComment</a>
115
+
116
+ <li><a href="../SydneyAliasFile/SyntaxNode.html">SydneyAliasFile::SyntaxNode</a>
117
+
118
+ <li><a href="../Sydney.html">Sydney</a>
119
+
120
+ </ul>
121
+ </nav>
122
+
123
+ </div>
124
+ </nav>
125
+
126
+ <div id="documentation">
127
+ <h1 class="class">class SydneyAliasFile::Document</h1>
128
+
129
+ <div id="description" class="description">
130
+
131
+ </div><!-- description -->
132
+
133
+
134
+
135
+
136
+ <section id="5Buntitled-5D" class="documentation-section">
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <!-- Methods -->
146
+
147
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
148
+ <h3 class="section-header">Public Instance Methods</h3>
149
+
150
+
151
+ <div id="method-i-sections" class="method-detail ">
152
+
153
+ <div class="method-heading">
154
+ <span class="method-name">sections</span><span
155
+ class="method-args">()</span>
156
+ <span class="method-click-advice">click to toggle source</span>
157
+ </div>
158
+
159
+
160
+ <div class="method-description">
161
+
162
+ <p>Return an array of <a href="Section.html">Section</a> nodes</p>
163
+
164
+
165
+
166
+ <div class="method-source-code" id="sections-source">
167
+ <pre><span class="ruby-comment"># File lib/sydney/sydney_alias_file/node_extensions.rb, line 10</span>
168
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">sections</span>
169
+ <span class="ruby-identifier">to_a</span>
170
+ <span class="ruby-keyword">end</span></pre>
171
+ </div><!-- sections-source -->
172
+
173
+ </div>
174
+
175
+
176
+
177
+
178
+ </div><!-- sections-method -->
179
+
180
+
181
+ </section><!-- public-instance-method-details -->
182
+
183
+ </section><!-- 5Buntitled-5D -->
184
+
185
+ </div><!-- documentation -->
186
+
187
+
188
+ <footer id="validator-badges">
189
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
190
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
191
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
192
+ </footer>
193
+
@@ -0,0 +1,225 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class SydneyAliasFile::Section - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../index.html">Home</a>
28
+ <a href="../table_of_contents.html#classes">Classes</a>
29
+ <a href="../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/sydney/sydney_alias_file/node_extensions.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link"><a href="SyntaxNode.html">SydneyAliasFile::SyntaxNode</a>
63
+
64
+ </nav>
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-i-entries">#entries</a>
74
+
75
+ <li><a href="#method-i-title">#title</a>
76
+
77
+ </ul>
78
+ </nav>
79
+
80
+ </div>
81
+
82
+ <div id="project-metadata">
83
+ <nav id="fileindex-section" class="section project-section">
84
+ <h3 class="section-header">Pages</h3>
85
+
86
+ <ul>
87
+
88
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
89
+
90
+ <li class="file"><a href="../LICENSE.html">LICENSE</a>
91
+
92
+ <li class="file"><a href="../Rakefile.html">Rakefile</a>
93
+
94
+ <li class="file"><a href="../spec/fixtures/aliases.html">aliases</a>
95
+
96
+ </ul>
97
+ </nav>
98
+
99
+ <nav id="classindex-section" class="section project-section">
100
+ <h3 class="section-header">Class and Module Index</h3>
101
+
102
+ <ul class="link-list">
103
+
104
+ <li><a href="../SydneyAliasFile.html">SydneyAliasFile</a>
105
+
106
+ <li><a href="../SydneyAliasFile/AliasComment.html">SydneyAliasFile::AliasComment</a>
107
+
108
+ <li><a href="../SydneyAliasFile/AliasDefinition.html">SydneyAliasFile::AliasDefinition</a>
109
+
110
+ <li><a href="../SydneyAliasFile/AliasEntry.html">SydneyAliasFile::AliasEntry</a>
111
+
112
+ <li><a href="../SydneyAliasFile/Document.html">SydneyAliasFile::Document</a>
113
+
114
+ <li><a href="../SydneyAliasFile/Section.html">SydneyAliasFile::Section</a>
115
+
116
+ <li><a href="../SydneyAliasFile/SectionComment.html">SydneyAliasFile::SectionComment</a>
117
+
118
+ <li><a href="../SydneyAliasFile/SyntaxNode.html">SydneyAliasFile::SyntaxNode</a>
119
+
120
+ <li><a href="../Sydney.html">Sydney</a>
121
+
122
+ </ul>
123
+ </nav>
124
+
125
+ </div>
126
+ </nav>
127
+
128
+ <div id="documentation">
129
+ <h1 class="class">class SydneyAliasFile::Section</h1>
130
+
131
+ <div id="description" class="description">
132
+
133
+ </div><!-- description -->
134
+
135
+
136
+
137
+
138
+ <section id="5Buntitled-5D" class="documentation-section">
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ <!-- Methods -->
148
+
149
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
150
+ <h3 class="section-header">Public Instance Methods</h3>
151
+
152
+
153
+ <div id="method-i-entries" class="method-detail ">
154
+
155
+ <div class="method-heading">
156
+ <span class="method-name">entries</span><span
157
+ class="method-args">()</span>
158
+ <span class="method-click-advice">click to toggle source</span>
159
+ </div>
160
+
161
+
162
+ <div class="method-description">
163
+
164
+ <p>Return the <a href="AliasEntry.html">AliasEntry</a> nodes as an array</p>
165
+
166
+
167
+
168
+ <div class="method-source-code" id="entries-source">
169
+ <pre><span class="ruby-comment"># File lib/sydney/sydney_alias_file/node_extensions.rb, line 28</span>
170
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">entries</span>
171
+ <span class="ruby-identifier">content</span>.<span class="ruby-identifier">elements</span>
172
+ <span class="ruby-keyword">end</span></pre>
173
+ </div><!-- entries-source -->
174
+
175
+ </div>
176
+
177
+
178
+
179
+
180
+ </div><!-- entries-method -->
181
+
182
+
183
+ <div id="method-i-title" class="method-detail ">
184
+
185
+ <div class="method-heading">
186
+ <span class="method-name">title</span><span
187
+ class="method-args">()</span>
188
+ <span class="method-click-advice">click to toggle source</span>
189
+ </div>
190
+
191
+
192
+ <div class="method-description">
193
+
194
+ <p>Return all the ‘##’-led lines in the section as a single string</p>
195
+
196
+
197
+
198
+ <div class="method-source-code" id="title-source">
199
+ <pre><span class="ruby-comment"># File lib/sydney/sydney_alias_file/node_extensions.rb, line 23</span>
200
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">title</span>
201
+ <span class="ruby-identifier">section_title</span>.<span class="ruby-identifier">elements</span>.<span class="ruby-identifier">map</span>(&amp;<span class="ruby-value">:to_s</span>).<span class="ruby-identifier">join</span>(<span class="ruby-string">' '</span>)
202
+ <span class="ruby-keyword">end</span></pre>
203
+ </div><!-- title-source -->
204
+
205
+ </div>
206
+
207
+
208
+
209
+
210
+ </div><!-- title-method -->
211
+
212
+
213
+ </section><!-- public-instance-method-details -->
214
+
215
+ </section><!-- 5Buntitled-5D -->
216
+
217
+ </div><!-- documentation -->
218
+
219
+
220
+ <footer id="validator-badges">
221
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
222
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
223
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
224
+ </footer>
225
+