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,140 +2,94 @@
|
|
|
2
2
|
|
|
3
3
|
<html>
|
|
4
4
|
<head>
|
|
5
|
-
<meta
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
7
|
<title>class SimpleBioC::NodeBase - 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/node_base.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
|
</ul>
|
|
79
|
-
</
|
|
76
|
+
</div>
|
|
80
77
|
|
|
81
78
|
</div>
|
|
82
|
-
|
|
83
|
-
<div id="project-metadata">
|
|
84
|
-
<nav id="fileindex-section" class="section project-section">
|
|
85
|
-
<h3 class="section-header">Pages</h3>
|
|
86
|
-
|
|
87
|
-
<ul>
|
|
88
|
-
|
|
89
|
-
<li class="file"><a href="../README_md.html">README</a>
|
|
90
|
-
|
|
91
|
-
</ul>
|
|
92
79
|
</nav>
|
|
93
80
|
|
|
94
|
-
|
|
95
|
-
<
|
|
81
|
+
<main role="main" aria-labelledby="class-SimpleBioC::NodeBase">
|
|
82
|
+
<h1 id="class-SimpleBioC::NodeBase" class="class">
|
|
83
|
+
class SimpleBioC::NodeBase
|
|
84
|
+
</h1>
|
|
96
85
|
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
<li><a href="../BioCReader.html">BioCReader</a>
|
|
100
|
-
|
|
101
|
-
<li><a href="../BioCWriter.html">BioCWriter</a>
|
|
102
|
-
|
|
103
|
-
<li><a href="../SimpleBioC.html">SimpleBioC</a>
|
|
104
|
-
|
|
105
|
-
<li><a href="../SimpleBioC/Annotation.html">SimpleBioC::Annotation</a>
|
|
106
|
-
|
|
107
|
-
<li><a href="../SimpleBioC/Collection.html">SimpleBioC::Collection</a>
|
|
108
|
-
|
|
109
|
-
<li><a href="../SimpleBioC/Document.html">SimpleBioC::Document</a>
|
|
110
|
-
|
|
111
|
-
<li><a href="../SimpleBioC/Location.html">SimpleBioC::Location</a>
|
|
112
|
-
|
|
113
|
-
<li><a href="../SimpleBioC/Node.html">SimpleBioC::Node</a>
|
|
114
|
-
|
|
115
|
-
<li><a href="../SimpleBioC/NodeBase.html">SimpleBioC::NodeBase</a>
|
|
116
|
-
|
|
117
|
-
<li><a href="../SimpleBioC/Passage.html">SimpleBioC::Passage</a>
|
|
118
|
-
|
|
119
|
-
<li><a href="../SimpleBioC/Relation.html">SimpleBioC::Relation</a>
|
|
120
|
-
|
|
121
|
-
<li><a href="../SimpleBioC/Sentence.html">SimpleBioC::Sentence</a>
|
|
122
|
-
|
|
123
|
-
</ul>
|
|
124
|
-
</nav>
|
|
125
|
-
|
|
126
|
-
</div>
|
|
127
|
-
</nav>
|
|
128
|
-
|
|
129
|
-
<div id="documentation">
|
|
130
|
-
<h1 class="class">class SimpleBioC::NodeBase</h1>
|
|
131
|
-
|
|
132
|
-
<div id="description" class="description">
|
|
86
|
+
<section class="description">
|
|
133
87
|
|
|
134
88
|
<p><a href="NodeBase.html">NodeBase</a> is not a BioC DTD entity. This is a
|
|
135
89
|
super class of <a href="Annotation.html">Annotation</a> & <a
|
|
136
90
|
href="Relation.html">Relation</a>.</p>
|
|
137
91
|
|
|
138
|
-
</
|
|
92
|
+
</section>
|
|
139
93
|
|
|
140
94
|
|
|
141
95
|
|
|
@@ -148,9 +102,10 @@ href="Relation.html">Relation</a>.</p>
|
|
|
148
102
|
|
|
149
103
|
|
|
150
104
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
105
|
+
<section class="attribute-method-details" class="method-section">
|
|
106
|
+
<header>
|
|
107
|
+
<h3>Attributes</h3>
|
|
108
|
+
</header>
|
|
154
109
|
|
|
155
110
|
|
|
156
111
|
<div id="attribute-i-document" class="method-detail">
|
|
@@ -218,13 +173,14 @@ href="Relation.html">Relation</a>.</p>
|
|
|
218
173
|
</div>
|
|
219
174
|
</div>
|
|
220
175
|
|
|
221
|
-
</section
|
|
176
|
+
</section>
|
|
222
177
|
|
|
223
178
|
|
|
224
|
-
<!-- Methods -->
|
|
225
179
|
|
|
226
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section
|
|
227
|
-
|
|
180
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
181
|
+
<header>
|
|
182
|
+
<h3>Public Class Methods</h3>
|
|
183
|
+
</header>
|
|
228
184
|
|
|
229
185
|
|
|
230
186
|
<div id="method-c-new" class="method-detail ">
|
|
@@ -256,26 +212,25 @@ href="Relation.html">Relation</a>.</p>
|
|
|
256
212
|
<span class="ruby-ivar">@passage</span> = <span class="ruby-ivar">@sentence</span>.<span class="ruby-identifier">passage</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@sentence</span>.<span class="ruby-identifier">nil?</span>
|
|
257
213
|
<span class="ruby-ivar">@document</span> = <span class="ruby-ivar">@passage</span>.<span class="ruby-identifier">document</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@passage</span>.<span class="ruby-identifier">nil?</span>
|
|
258
214
|
<span class="ruby-keyword">end</span></pre>
|
|
259
|
-
</div
|
|
215
|
+
</div>
|
|
260
216
|
|
|
261
217
|
</div>
|
|
262
218
|
|
|
263
219
|
|
|
264
220
|
|
|
265
221
|
|
|
266
|
-
</div
|
|
222
|
+
</div>
|
|
267
223
|
|
|
268
224
|
|
|
269
|
-
</section
|
|
225
|
+
</section>
|
|
270
226
|
|
|
271
|
-
</section
|
|
272
|
-
|
|
273
|
-
</div><!-- documentation -->
|
|
227
|
+
</section>
|
|
228
|
+
</main>
|
|
274
229
|
|
|
275
230
|
|
|
276
|
-
<footer id="validator-badges">
|
|
277
|
-
<p><a href="http://validator.w3.org/check/referer">
|
|
278
|
-
<p>Generated by <a href="
|
|
279
|
-
<p>
|
|
231
|
+
<footer id="validator-badges" role="contentinfo">
|
|
232
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
233
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
234
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
280
235
|
</footer>
|
|
281
236
|
|
|
@@ -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::Passage - 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/passage.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
|
|
|
@@ -82,62 +79,19 @@
|
|
|
82
79
|
<li ><a href="#method-i-to_s">#to_s</a>
|
|
83
80
|
|
|
84
81
|
</ul>
|
|
85
|
-
</
|
|
86
|
-
|
|
87
|
-
</div>
|
|
88
|
-
|
|
89
|
-
<div id="project-metadata">
|
|
90
|
-
<nav id="fileindex-section" class="section project-section">
|
|
91
|
-
<h3 class="section-header">Pages</h3>
|
|
92
|
-
|
|
93
|
-
<ul>
|
|
94
|
-
|
|
95
|
-
<li class="file"><a href="../README_md.html">README</a>
|
|
96
|
-
|
|
97
|
-
</ul>
|
|
98
|
-
</nav>
|
|
99
|
-
|
|
100
|
-
<nav id="classindex-section" class="section project-section">
|
|
101
|
-
<h3 class="section-header">Class and Module Index</h3>
|
|
102
|
-
|
|
103
|
-
<ul class="link-list">
|
|
104
|
-
|
|
105
|
-
<li><a href="../BioCReader.html">BioCReader</a>
|
|
106
|
-
|
|
107
|
-
<li><a href="../BioCWriter.html">BioCWriter</a>
|
|
108
|
-
|
|
109
|
-
<li><a href="../SimpleBioC.html">SimpleBioC</a>
|
|
110
|
-
|
|
111
|
-
<li><a href="../SimpleBioC/Annotation.html">SimpleBioC::Annotation</a>
|
|
112
|
-
|
|
113
|
-
<li><a href="../SimpleBioC/Collection.html">SimpleBioC::Collection</a>
|
|
114
|
-
|
|
115
|
-
<li><a href="../SimpleBioC/Document.html">SimpleBioC::Document</a>
|
|
116
|
-
|
|
117
|
-
<li><a href="../SimpleBioC/Location.html">SimpleBioC::Location</a>
|
|
118
|
-
|
|
119
|
-
<li><a href="../SimpleBioC/Node.html">SimpleBioC::Node</a>
|
|
120
|
-
|
|
121
|
-
<li><a href="../SimpleBioC/NodeBase.html">SimpleBioC::NodeBase</a>
|
|
122
|
-
|
|
123
|
-
<li><a href="../SimpleBioC/Passage.html">SimpleBioC::Passage</a>
|
|
124
|
-
|
|
125
|
-
<li><a href="../SimpleBioC/Relation.html">SimpleBioC::Relation</a>
|
|
126
|
-
|
|
127
|
-
<li><a href="../SimpleBioC/Sentence.html">SimpleBioC::Sentence</a>
|
|
128
|
-
|
|
129
|
-
</ul>
|
|
130
|
-
</nav>
|
|
82
|
+
</div>
|
|
131
83
|
|
|
132
84
|
</div>
|
|
133
85
|
</nav>
|
|
134
86
|
|
|
135
|
-
<
|
|
136
|
-
<h1
|
|
87
|
+
<main role="main" aria-labelledby="class-SimpleBioC::Passage">
|
|
88
|
+
<h1 id="class-SimpleBioC::Passage" class="class">
|
|
89
|
+
class SimpleBioC::Passage
|
|
90
|
+
</h1>
|
|
137
91
|
|
|
138
|
-
<
|
|
92
|
+
<section class="description">
|
|
139
93
|
|
|
140
|
-
</
|
|
94
|
+
</section>
|
|
141
95
|
|
|
142
96
|
|
|
143
97
|
|
|
@@ -150,9 +104,10 @@
|
|
|
150
104
|
|
|
151
105
|
|
|
152
106
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
107
|
+
<section class="attribute-method-details" class="method-section">
|
|
108
|
+
<header>
|
|
109
|
+
<h3>Attributes</h3>
|
|
110
|
+
</header>
|
|
156
111
|
|
|
157
112
|
|
|
158
113
|
<div id="attribute-i-annotations" class="method-detail">
|
|
@@ -246,13 +201,14 @@
|
|
|
246
201
|
</div>
|
|
247
202
|
</div>
|
|
248
203
|
|
|
249
|
-
</section
|
|
204
|
+
</section>
|
|
250
205
|
|
|
251
206
|
|
|
252
|
-
<!-- Methods -->
|
|
253
207
|
|
|
254
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section
|
|
255
|
-
|
|
208
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
209
|
+
<header>
|
|
210
|
+
<h3>Public Class Methods</h3>
|
|
211
|
+
</header>
|
|
256
212
|
|
|
257
213
|
|
|
258
214
|
<div id="method-c-new" class="method-detail ">
|
|
@@ -282,20 +238,22 @@
|
|
|
282
238
|
<span class="ruby-ivar">@relations</span> = []
|
|
283
239
|
<span class="ruby-ivar">@document</span> = <span class="ruby-identifier">parent</span>
|
|
284
240
|
<span class="ruby-keyword">end</span></pre>
|
|
285
|
-
</div
|
|
241
|
+
</div>
|
|
286
242
|
|
|
287
243
|
</div>
|
|
288
244
|
|
|
289
245
|
|
|
290
246
|
|
|
291
247
|
|
|
292
|
-
</div
|
|
248
|
+
</div>
|
|
293
249
|
|
|
294
250
|
|
|
295
|
-
</section
|
|
251
|
+
</section>
|
|
296
252
|
|
|
297
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section
|
|
298
|
-
|
|
253
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
254
|
+
<header>
|
|
255
|
+
<h3>Public Instance Methods</h3>
|
|
256
|
+
</header>
|
|
299
257
|
|
|
300
258
|
|
|
301
259
|
<div id="method-i-each_relation" class="method-detail ">
|
|
@@ -322,14 +280,14 @@
|
|
|
322
280
|
<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>}
|
|
323
281
|
<span class="ruby-identifier">sentences</span>.<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</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>}}
|
|
324
282
|
<span class="ruby-keyword">end</span></pre>
|
|
325
|
-
</div
|
|
283
|
+
</div>
|
|
326
284
|
|
|
327
285
|
</div>
|
|
328
286
|
|
|
329
287
|
|
|
330
288
|
|
|
331
289
|
|
|
332
|
-
</div
|
|
290
|
+
</div>
|
|
333
291
|
|
|
334
292
|
|
|
335
293
|
<div id="method-i-find_node" class="method-detail ">
|
|
@@ -360,14 +318,14 @@
|
|
|
360
318
|
<span class="ruby-keyword">end</span>
|
|
361
319
|
<span class="ruby-keyword">nil</span>
|
|
362
320
|
<span class="ruby-keyword">end</span></pre>
|
|
363
|
-
</div
|
|
321
|
+
</div>
|
|
364
322
|
|
|
365
323
|
</div>
|
|
366
324
|
|
|
367
325
|
|
|
368
326
|
|
|
369
327
|
|
|
370
|
-
</div
|
|
328
|
+
</div>
|
|
371
329
|
|
|
372
330
|
|
|
373
331
|
<div id="method-i-to_s" class="method-detail ">
|
|
@@ -393,26 +351,25 @@
|
|
|
393
351
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
|
394
352
|
<span class="ruby-node">"Passage @#{offset}: #{text}"</span>
|
|
395
353
|
<span class="ruby-keyword">end</span></pre>
|
|
396
|
-
</div
|
|
354
|
+
</div>
|
|
397
355
|
|
|
398
356
|
</div>
|
|
399
357
|
|
|
400
358
|
|
|
401
359
|
|
|
402
360
|
|
|
403
|
-
</div
|
|
361
|
+
</div>
|
|
404
362
|
|
|
405
363
|
|
|
406
|
-
</section
|
|
364
|
+
</section>
|
|
407
365
|
|
|
408
|
-
</section
|
|
409
|
-
|
|
410
|
-
</div><!-- documentation -->
|
|
366
|
+
</section>
|
|
367
|
+
</main>
|
|
411
368
|
|
|
412
369
|
|
|
413
|
-
<footer id="validator-badges">
|
|
414
|
-
<p><a href="http://validator.w3.org/check/referer">
|
|
415
|
-
<p>Generated by <a href="
|
|
416
|
-
<p>
|
|
370
|
+
<footer id="validator-badges" role="contentinfo">
|
|
371
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
372
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
373
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
417
374
|
</footer>
|
|
418
375
|
|