simple_bioc 0.0.5 → 0.0.6
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/.gitignore +13 -0
- data/html/BioCMerger.html +748 -0
- data/html/BioCReader.html +138 -146
- data/html/BioCWriter.html +84 -131
- data/html/README_md.html +79 -100
- data/html/SimpleBioC/Annotation.html +70 -113
- data/html/SimpleBioC/Collection.html +70 -113
- data/html/SimpleBioC/Document.html +76 -119
- data/html/SimpleBioC/Location.html +70 -113
- data/html/SimpleBioC/Node.html +72 -115
- data/html/SimpleBioC/NodeBase.html +63 -108
- data/html/SimpleBioC/Passage.html +74 -117
- data/html/SimpleBioC/Relation.html +85 -115
- data/html/SimpleBioC/Sentence.html +74 -117
- data/html/SimpleBioC.html +221 -129
- data/html/created.rid +16 -15
- data/html/css/fonts.css +167 -0
- data/html/css/rdoc.css +590 -0
- data/html/fonts/Lato-Light.ttf +0 -0
- data/html/fonts/Lato-LightItalic.ttf +0 -0
- data/html/fonts/Lato-Regular.ttf +0 -0
- data/html/fonts/Lato-RegularItalic.ttf +0 -0
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/index.html +71 -53
- data/html/js/darkfish.js +32 -26
- data/html/js/jquery.js +4 -18
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +20 -5
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +379 -136
- data/lib/simple_bioc/bioc_merger.rb +209 -0
- data/lib/simple_bioc/relation.rb +1 -1
- data/lib/simple_bioc/version.rb +1 -1
- data/lib/simple_bioc.rb +8 -4
- data/spec/file_check_spec.rb +14 -1
- data/xml/PMC2133144.xml +3 -0
- data/xml/merge/9864355.xml +1 -0
- data/xml/merge/9864355_1.xml +1 -0
- data/xml/merge/9864355_2.xml +1974 -0
- data/xml/merge/9864355_3.xml +1 -0
- data/xml/merge/output.xml +6742 -0
- metadata +21 -2
|
@@ -2,138 +2,92 @@
|
|
|
2
2
|
|
|
3
3
|
<html>
|
|
4
4
|
<head>
|
|
5
|
-
<meta
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
7
|
<title>class SimpleBioC::Collection - RDoc Documentation</title>
|
|
8
8
|
|
|
9
|
-
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
|
10
|
-
|
|
11
9
|
<script type="text/javascript">
|
|
12
10
|
var rdoc_rel_prefix = "../";
|
|
13
11
|
</script>
|
|
14
12
|
|
|
15
|
-
<script
|
|
16
|
-
<script
|
|
17
|
-
|
|
18
|
-
<
|
|
19
|
-
<
|
|
20
|
-
|
|
13
|
+
<script src="../js/jquery.js"></script>
|
|
14
|
+
<script src="../js/darkfish.js"></script>
|
|
15
|
+
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
21
19
|
|
|
22
20
|
|
|
23
|
-
<body id="top" class="class">
|
|
24
|
-
<nav
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
<body id="top" role="document" class="class">
|
|
22
|
+
<nav role="navigation">
|
|
23
|
+
<div id="project-navigation">
|
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
25
|
+
<h2>
|
|
26
|
+
<a href="../index.html" rel="home">Home</a>
|
|
27
|
+
</h2>
|
|
28
|
+
|
|
29
|
+
<div id="table-of-contents-navigation">
|
|
30
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
|
28
31
|
<a href="../table_of_contents.html#classes">Classes</a>
|
|
29
32
|
<a href="../table_of_contents.html#methods">Methods</a>
|
|
30
|
-
</
|
|
31
|
-
</
|
|
32
|
-
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
35
37
|
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
-
<
|
|
37
|
-
<input
|
|
38
|
+
<div id="search-field-wrapper">
|
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
38
42
|
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
-
</
|
|
40
|
-
</form>
|
|
43
|
+
</div>
|
|
41
44
|
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
|
46
|
+
aria-busy="false" aria-expanded="false"
|
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
48
|
+
</form>
|
|
49
|
+
</div>
|
|
44
50
|
|
|
51
|
+
</div>
|
|
45
52
|
|
|
46
53
|
|
|
47
54
|
|
|
48
|
-
<div id="file-metadata">
|
|
49
|
-
<nav id="file-list-section" class="section">
|
|
50
|
-
<h3 class="section-header">Defined In</h3>
|
|
51
|
-
<ul>
|
|
52
|
-
<li>lib/simple_bioc/collection.rb
|
|
53
|
-
</ul>
|
|
54
|
-
</nav>
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
55
|
<div id="class-metadata">
|
|
60
56
|
|
|
61
|
-
<
|
|
62
|
-
<h3
|
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
|
58
|
+
<h3>Parent</h3>
|
|
59
|
+
|
|
63
60
|
|
|
64
61
|
<p class="link">Object
|
|
65
62
|
|
|
66
|
-
</
|
|
63
|
+
</div>
|
|
67
64
|
|
|
68
65
|
|
|
69
66
|
|
|
70
67
|
<!-- Method Quickref -->
|
|
71
|
-
<
|
|
72
|
-
<h3
|
|
68
|
+
<div id="method-list-section" class="nav-section">
|
|
69
|
+
<h3>Methods</h3>
|
|
73
70
|
|
|
74
|
-
<ul class="link-list">
|
|
71
|
+
<ul class="link-list" role="directory">
|
|
75
72
|
|
|
76
73
|
<li ><a href="#method-c-new">::new</a>
|
|
77
74
|
|
|
78
75
|
<li ><a href="#method-i-to_c">#to_c</a>
|
|
79
76
|
|
|
80
77
|
</ul>
|
|
81
|
-
</
|
|
82
|
-
|
|
83
|
-
</div>
|
|
84
|
-
|
|
85
|
-
<div id="project-metadata">
|
|
86
|
-
<nav id="fileindex-section" class="section project-section">
|
|
87
|
-
<h3 class="section-header">Pages</h3>
|
|
88
|
-
|
|
89
|
-
<ul>
|
|
90
|
-
|
|
91
|
-
<li class="file"><a href="../README_md.html">README</a>
|
|
92
|
-
|
|
93
|
-
</ul>
|
|
94
|
-
</nav>
|
|
95
|
-
|
|
96
|
-
<nav id="classindex-section" class="section project-section">
|
|
97
|
-
<h3 class="section-header">Class and Module Index</h3>
|
|
98
|
-
|
|
99
|
-
<ul class="link-list">
|
|
100
|
-
|
|
101
|
-
<li><a href="../BioCReader.html">BioCReader</a>
|
|
102
|
-
|
|
103
|
-
<li><a href="../BioCWriter.html">BioCWriter</a>
|
|
104
|
-
|
|
105
|
-
<li><a href="../SimpleBioC.html">SimpleBioC</a>
|
|
106
|
-
|
|
107
|
-
<li><a href="../SimpleBioC/Annotation.html">SimpleBioC::Annotation</a>
|
|
108
|
-
|
|
109
|
-
<li><a href="../SimpleBioC/Collection.html">SimpleBioC::Collection</a>
|
|
110
|
-
|
|
111
|
-
<li><a href="../SimpleBioC/Document.html">SimpleBioC::Document</a>
|
|
112
|
-
|
|
113
|
-
<li><a href="../SimpleBioC/Location.html">SimpleBioC::Location</a>
|
|
114
|
-
|
|
115
|
-
<li><a href="../SimpleBioC/Node.html">SimpleBioC::Node</a>
|
|
116
|
-
|
|
117
|
-
<li><a href="../SimpleBioC/NodeBase.html">SimpleBioC::NodeBase</a>
|
|
118
|
-
|
|
119
|
-
<li><a href="../SimpleBioC/Passage.html">SimpleBioC::Passage</a>
|
|
120
|
-
|
|
121
|
-
<li><a href="../SimpleBioC/Relation.html">SimpleBioC::Relation</a>
|
|
122
|
-
|
|
123
|
-
<li><a href="../SimpleBioC/Sentence.html">SimpleBioC::Sentence</a>
|
|
124
|
-
|
|
125
|
-
</ul>
|
|
126
|
-
</nav>
|
|
78
|
+
</div>
|
|
127
79
|
|
|
128
80
|
</div>
|
|
129
81
|
</nav>
|
|
130
82
|
|
|
131
|
-
<
|
|
132
|
-
<h1
|
|
83
|
+
<main role="main" aria-labelledby="class-SimpleBioC::Collection">
|
|
84
|
+
<h1 id="class-SimpleBioC::Collection" class="class">
|
|
85
|
+
class SimpleBioC::Collection
|
|
86
|
+
</h1>
|
|
133
87
|
|
|
134
|
-
<
|
|
88
|
+
<section class="description">
|
|
135
89
|
|
|
136
|
-
</
|
|
90
|
+
</section>
|
|
137
91
|
|
|
138
92
|
|
|
139
93
|
|
|
@@ -146,9 +100,10 @@
|
|
|
146
100
|
|
|
147
101
|
|
|
148
102
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
103
|
+
<section class="attribute-method-details" class="method-section">
|
|
104
|
+
<header>
|
|
105
|
+
<h3>Attributes</h3>
|
|
106
|
+
</header>
|
|
152
107
|
|
|
153
108
|
|
|
154
109
|
<div id="attribute-i-date" class="method-detail">
|
|
@@ -216,13 +171,14 @@
|
|
|
216
171
|
</div>
|
|
217
172
|
</div>
|
|
218
173
|
|
|
219
|
-
</section
|
|
174
|
+
</section>
|
|
220
175
|
|
|
221
176
|
|
|
222
|
-
<!-- Methods -->
|
|
223
177
|
|
|
224
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section
|
|
225
|
-
|
|
178
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
179
|
+
<header>
|
|
180
|
+
<h3>Public Class Methods</h3>
|
|
181
|
+
</header>
|
|
226
182
|
|
|
227
183
|
|
|
228
184
|
<div id="method-c-new" class="method-detail ">
|
|
@@ -252,20 +208,22 @@
|
|
|
252
208
|
<span class="ruby-ivar">@date</span> = <span class="ruby-string">""</span>
|
|
253
209
|
<span class="ruby-ivar">@key</span> = <span class="ruby-string">""</span>
|
|
254
210
|
<span class="ruby-keyword">end</span></pre>
|
|
255
|
-
</div
|
|
211
|
+
</div>
|
|
256
212
|
|
|
257
213
|
</div>
|
|
258
214
|
|
|
259
215
|
|
|
260
216
|
|
|
261
217
|
|
|
262
|
-
</div
|
|
218
|
+
</div>
|
|
263
219
|
|
|
264
220
|
|
|
265
|
-
</section
|
|
221
|
+
</section>
|
|
266
222
|
|
|
267
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section
|
|
268
|
-
|
|
223
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
224
|
+
<header>
|
|
225
|
+
<h3>Public Instance Methods</h3>
|
|
226
|
+
</header>
|
|
269
227
|
|
|
270
228
|
|
|
271
229
|
<div id="method-i-to_c" class="method-detail ">
|
|
@@ -291,26 +249,25 @@
|
|
|
291
249
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_c</span>
|
|
292
250
|
<span class="ruby-node">"Collection(source: #{source}, date: #{date}, key: #{key})"</span>
|
|
293
251
|
<span class="ruby-keyword">end</span></pre>
|
|
294
|
-
</div
|
|
252
|
+
</div>
|
|
295
253
|
|
|
296
254
|
</div>
|
|
297
255
|
|
|
298
256
|
|
|
299
257
|
|
|
300
258
|
|
|
301
|
-
</div
|
|
259
|
+
</div>
|
|
302
260
|
|
|
303
261
|
|
|
304
|
-
</section
|
|
262
|
+
</section>
|
|
305
263
|
|
|
306
|
-
</section
|
|
307
|
-
|
|
308
|
-
</div><!-- documentation -->
|
|
264
|
+
</section>
|
|
265
|
+
</main>
|
|
309
266
|
|
|
310
267
|
|
|
311
|
-
<footer id="validator-badges">
|
|
312
|
-
<p><a href="http://validator.w3.org/check/referer">
|
|
313
|
-
<p>Generated by <a href="
|
|
314
|
-
<p>
|
|
268
|
+
<footer id="validator-badges" role="contentinfo">
|
|
269
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
270
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
271
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
315
272
|
</footer>
|
|
316
273
|
|
|
@@ -2,76 +2,73 @@
|
|
|
2
2
|
|
|
3
3
|
<html>
|
|
4
4
|
<head>
|
|
5
|
-
<meta
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
7
|
<title>class SimpleBioC::Document - RDoc Documentation</title>
|
|
8
8
|
|
|
9
|
-
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
|
10
|
-
|
|
11
9
|
<script type="text/javascript">
|
|
12
10
|
var rdoc_rel_prefix = "../";
|
|
13
11
|
</script>
|
|
14
12
|
|
|
15
|
-
<script
|
|
16
|
-
<script
|
|
17
|
-
|
|
18
|
-
<
|
|
19
|
-
<
|
|
20
|
-
|
|
13
|
+
<script src="../js/jquery.js"></script>
|
|
14
|
+
<script src="../js/darkfish.js"></script>
|
|
15
|
+
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
21
20
|
|
|
21
|
+
<body id="top" role="document" class="class">
|
|
22
|
+
<nav role="navigation">
|
|
23
|
+
<div id="project-navigation">
|
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
25
|
+
<h2>
|
|
26
|
+
<a href="../index.html" rel="home">Home</a>
|
|
27
|
+
</h2>
|
|
22
28
|
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
<nav id="home-section" class="section">
|
|
26
|
-
<h3 class="section-header">
|
|
27
|
-
<a href="../index.html">Home</a>
|
|
29
|
+
<div id="table-of-contents-navigation">
|
|
30
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
|
28
31
|
<a href="../table_of_contents.html#classes">Classes</a>
|
|
29
32
|
<a href="../table_of_contents.html#methods">Methods</a>
|
|
30
|
-
</
|
|
31
|
-
</
|
|
32
|
-
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
35
37
|
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
-
<
|
|
37
|
-
<input
|
|
38
|
+
<div id="search-field-wrapper">
|
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
38
42
|
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
-
</
|
|
40
|
-
</form>
|
|
43
|
+
</div>
|
|
41
44
|
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
|
46
|
+
aria-busy="false" aria-expanded="false"
|
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
48
|
+
</form>
|
|
49
|
+
</div>
|
|
44
50
|
|
|
51
|
+
</div>
|
|
45
52
|
|
|
46
53
|
|
|
47
54
|
|
|
48
|
-
<div id="file-metadata">
|
|
49
|
-
<nav id="file-list-section" class="section">
|
|
50
|
-
<h3 class="section-header">Defined In</h3>
|
|
51
|
-
<ul>
|
|
52
|
-
<li>lib/simple_bioc/document.rb
|
|
53
|
-
</ul>
|
|
54
|
-
</nav>
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
55
|
<div id="class-metadata">
|
|
60
56
|
|
|
61
|
-
<
|
|
62
|
-
<h3
|
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
|
58
|
+
<h3>Parent</h3>
|
|
59
|
+
|
|
63
60
|
|
|
64
61
|
<p class="link">Object
|
|
65
62
|
|
|
66
|
-
</
|
|
63
|
+
</div>
|
|
67
64
|
|
|
68
65
|
|
|
69
66
|
|
|
70
67
|
<!-- Method Quickref -->
|
|
71
|
-
<
|
|
72
|
-
<h3
|
|
68
|
+
<div id="method-list-section" class="nav-section">
|
|
69
|
+
<h3>Methods</h3>
|
|
73
70
|
|
|
74
|
-
<ul class="link-list">
|
|
71
|
+
<ul class="link-list" role="directory">
|
|
75
72
|
|
|
76
73
|
<li ><a href="#method-c-new">::new</a>
|
|
77
74
|
|
|
@@ -84,62 +81,19 @@
|
|
|
84
81
|
<li ><a href="#method-i-to_s">#to_s</a>
|
|
85
82
|
|
|
86
83
|
</ul>
|
|
87
|
-
</
|
|
84
|
+
</div>
|
|
88
85
|
|
|
89
86
|
</div>
|
|
90
|
-
|
|
91
|
-
<div id="project-metadata">
|
|
92
|
-
<nav id="fileindex-section" class="section project-section">
|
|
93
|
-
<h3 class="section-header">Pages</h3>
|
|
94
|
-
|
|
95
|
-
<ul>
|
|
96
|
-
|
|
97
|
-
<li class="file"><a href="../README_md.html">README</a>
|
|
98
|
-
|
|
99
|
-
</ul>
|
|
100
87
|
</nav>
|
|
101
88
|
|
|
102
|
-
|
|
103
|
-
<
|
|
89
|
+
<main role="main" aria-labelledby="class-SimpleBioC::Document">
|
|
90
|
+
<h1 id="class-SimpleBioC::Document" class="class">
|
|
91
|
+
class SimpleBioC::Document
|
|
92
|
+
</h1>
|
|
104
93
|
|
|
105
|
-
<
|
|
106
|
-
|
|
107
|
-
<li><a href="../BioCReader.html">BioCReader</a>
|
|
108
|
-
|
|
109
|
-
<li><a href="../BioCWriter.html">BioCWriter</a>
|
|
110
|
-
|
|
111
|
-
<li><a href="../SimpleBioC.html">SimpleBioC</a>
|
|
112
|
-
|
|
113
|
-
<li><a href="../SimpleBioC/Annotation.html">SimpleBioC::Annotation</a>
|
|
114
|
-
|
|
115
|
-
<li><a href="../SimpleBioC/Collection.html">SimpleBioC::Collection</a>
|
|
116
|
-
|
|
117
|
-
<li><a href="../SimpleBioC/Document.html">SimpleBioC::Document</a>
|
|
118
|
-
|
|
119
|
-
<li><a href="../SimpleBioC/Location.html">SimpleBioC::Location</a>
|
|
120
|
-
|
|
121
|
-
<li><a href="../SimpleBioC/Node.html">SimpleBioC::Node</a>
|
|
122
|
-
|
|
123
|
-
<li><a href="../SimpleBioC/NodeBase.html">SimpleBioC::NodeBase</a>
|
|
124
|
-
|
|
125
|
-
<li><a href="../SimpleBioC/Passage.html">SimpleBioC::Passage</a>
|
|
126
|
-
|
|
127
|
-
<li><a href="../SimpleBioC/Relation.html">SimpleBioC::Relation</a>
|
|
128
|
-
|
|
129
|
-
<li><a href="../SimpleBioC/Sentence.html">SimpleBioC::Sentence</a>
|
|
130
|
-
|
|
131
|
-
</ul>
|
|
132
|
-
</nav>
|
|
133
|
-
|
|
134
|
-
</div>
|
|
135
|
-
</nav>
|
|
136
|
-
|
|
137
|
-
<div id="documentation">
|
|
138
|
-
<h1 class="class">class SimpleBioC::Document</h1>
|
|
139
|
-
|
|
140
|
-
<div id="description" class="description">
|
|
94
|
+
<section class="description">
|
|
141
95
|
|
|
142
|
-
</
|
|
96
|
+
</section>
|
|
143
97
|
|
|
144
98
|
|
|
145
99
|
|
|
@@ -152,9 +106,10 @@
|
|
|
152
106
|
|
|
153
107
|
|
|
154
108
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
109
|
+
<section class="attribute-method-details" class="method-section">
|
|
110
|
+
<header>
|
|
111
|
+
<h3>Attributes</h3>
|
|
112
|
+
</header>
|
|
158
113
|
|
|
159
114
|
|
|
160
115
|
<div id="attribute-i-collection" class="method-detail">
|
|
@@ -222,13 +177,14 @@
|
|
|
222
177
|
</div>
|
|
223
178
|
</div>
|
|
224
179
|
|
|
225
|
-
</section
|
|
180
|
+
</section>
|
|
226
181
|
|
|
227
182
|
|
|
228
|
-
<!-- Methods -->
|
|
229
183
|
|
|
230
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section
|
|
231
|
-
|
|
184
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
185
|
+
<header>
|
|
186
|
+
<h3>Public Class Methods</h3>
|
|
187
|
+
</header>
|
|
232
188
|
|
|
233
189
|
|
|
234
190
|
<div id="method-c-new" class="method-detail ">
|
|
@@ -257,20 +213,22 @@
|
|
|
257
213
|
<span class="ruby-ivar">@relations</span> = []
|
|
258
214
|
<span class="ruby-ivar">@collection</span> = <span class="ruby-identifier">parent</span>
|
|
259
215
|
<span class="ruby-keyword">end</span></pre>
|
|
260
|
-
</div
|
|
216
|
+
</div>
|
|
261
217
|
|
|
262
218
|
</div>
|
|
263
219
|
|
|
264
220
|
|
|
265
221
|
|
|
266
222
|
|
|
267
|
-
</div
|
|
223
|
+
</div>
|
|
268
224
|
|
|
269
225
|
|
|
270
|
-
</section
|
|
226
|
+
</section>
|
|
271
227
|
|
|
272
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section
|
|
273
|
-
|
|
228
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
229
|
+
<header>
|
|
230
|
+
<h3>Public Instance Methods</h3>
|
|
231
|
+
</header>
|
|
274
232
|
|
|
275
233
|
|
|
276
234
|
<div id="method-i-adjust_ref" class="method-detail ">
|
|
@@ -296,14 +254,14 @@
|
|
|
296
254
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">adjust_ref</span>
|
|
297
255
|
<span class="ruby-identifier">each_relation</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">adjust_ref</span>}
|
|
298
256
|
<span class="ruby-keyword">end</span></pre>
|
|
299
|
-
</div
|
|
257
|
+
</div>
|
|
300
258
|
|
|
301
259
|
</div>
|
|
302
260
|
|
|
303
261
|
|
|
304
262
|
|
|
305
263
|
|
|
306
|
-
</div
|
|
264
|
+
</div>
|
|
307
265
|
|
|
308
266
|
|
|
309
267
|
<div id="method-i-each_relation" class="method-detail ">
|
|
@@ -330,14 +288,14 @@
|
|
|
330
288
|
<span class="ruby-identifier">relations</span>.<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span> <span class="ruby-keyword">yield</span> <span class="ruby-identifier">r</span>}
|
|
331
289
|
<span class="ruby-identifier">passages</span>.<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span> <span class="ruby-identifier">p</span>.<span class="ruby-identifier">each_relation</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span> <span class="ruby-keyword">yield</span> <span class="ruby-identifier">r</span>}}
|
|
332
290
|
<span class="ruby-keyword">end</span></pre>
|
|
333
|
-
</div
|
|
291
|
+
</div>
|
|
334
292
|
|
|
335
293
|
</div>
|
|
336
294
|
|
|
337
295
|
|
|
338
296
|
|
|
339
297
|
|
|
340
|
-
</div
|
|
298
|
+
</div>
|
|
341
299
|
|
|
342
300
|
|
|
343
301
|
<div id="method-i-find_node" class="method-detail ">
|
|
@@ -368,14 +326,14 @@
|
|
|
368
326
|
<span class="ruby-keyword">end</span>
|
|
369
327
|
<span class="ruby-keyword">nil</span>
|
|
370
328
|
<span class="ruby-keyword">end</span></pre>
|
|
371
|
-
</div
|
|
329
|
+
</div>
|
|
372
330
|
|
|
373
331
|
</div>
|
|
374
332
|
|
|
375
333
|
|
|
376
334
|
|
|
377
335
|
|
|
378
|
-
</div
|
|
336
|
+
</div>
|
|
379
337
|
|
|
380
338
|
|
|
381
339
|
<div id="method-i-to_s" class="method-detail ">
|
|
@@ -401,26 +359,25 @@
|
|
|
401
359
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
|
402
360
|
<span class="ruby-node">"Document:#{id}"</span>
|
|
403
361
|
<span class="ruby-keyword">end</span></pre>
|
|
404
|
-
</div
|
|
362
|
+
</div>
|
|
405
363
|
|
|
406
364
|
</div>
|
|
407
365
|
|
|
408
366
|
|
|
409
367
|
|
|
410
368
|
|
|
411
|
-
</div
|
|
369
|
+
</div>
|
|
412
370
|
|
|
413
371
|
|
|
414
|
-
</section
|
|
372
|
+
</section>
|
|
415
373
|
|
|
416
|
-
</section
|
|
417
|
-
|
|
418
|
-
</div><!-- documentation -->
|
|
374
|
+
</section>
|
|
375
|
+
</main>
|
|
419
376
|
|
|
420
377
|
|
|
421
|
-
<footer id="validator-badges">
|
|
422
|
-
<p><a href="http://validator.w3.org/check/referer">
|
|
423
|
-
<p>Generated by <a href="
|
|
424
|
-
<p>
|
|
378
|
+
<footer id="validator-badges" role="contentinfo">
|
|
379
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
380
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
381
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
425
382
|
</footer>
|
|
426
383
|
|