prct11 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +8 -0
  4. data/.travis.yml +6 -0
  5. data/CODE_OF_CONDUCT.md +13 -0
  6. data/Gemfile +5 -0
  7. data/Guardfile +88 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +53 -0
  10. data/Rakefile +5 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +7 -0
  13. data/doc/APA.html +377 -0
  14. data/doc/Book.html +296 -0
  15. data/doc/CODE_OF_CONDUCT_md.html +125 -0
  16. data/doc/DSL.html +153 -0
  17. data/doc/DSLBook.html +278 -0
  18. data/doc/DSLJournal.html +281 -0
  19. data/doc/Electronicdocument.html +211 -0
  20. data/doc/Gemfile.html +99 -0
  21. data/doc/Gemfile_lock.html +221 -0
  22. data/doc/Guardfile.html +186 -0
  23. data/doc/JournalArticle.html +301 -0
  24. data/doc/LICENSE_txt.html +117 -0
  25. data/doc/LinkedList.html +588 -0
  26. data/doc/MagazineArticle.html +301 -0
  27. data/doc/Object.html +126 -0
  28. data/doc/Prct11.html +109 -0
  29. data/doc/README_md.html +164 -0
  30. data/doc/Rakefile.html +99 -0
  31. data/doc/Reference.html +303 -0
  32. data/doc/Regularpublications.html +158 -0
  33. data/doc/bin/setup.html +101 -0
  34. data/doc/created.rid +35 -0
  35. data/doc/css/fonts.css +167 -0
  36. data/doc/css/rdoc.css +590 -0
  37. data/doc/fonts/Lato-Light.ttf +0 -0
  38. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  39. data/doc/fonts/Lato-Regular.ttf +0 -0
  40. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  41. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  42. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  43. data/doc/images/add.png +0 -0
  44. data/doc/images/arrow_up.png +0 -0
  45. data/doc/images/brick.png +0 -0
  46. data/doc/images/brick_link.png +0 -0
  47. data/doc/images/bug.png +0 -0
  48. data/doc/images/bullet_black.png +0 -0
  49. data/doc/images/bullet_toggle_minus.png +0 -0
  50. data/doc/images/bullet_toggle_plus.png +0 -0
  51. data/doc/images/date.png +0 -0
  52. data/doc/images/delete.png +0 -0
  53. data/doc/images/find.png +0 -0
  54. data/doc/images/loadingAnimation.gif +0 -0
  55. data/doc/images/macFFBgHack.png +0 -0
  56. data/doc/images/package.png +0 -0
  57. data/doc/images/page_green.png +0 -0
  58. data/doc/images/page_white_text.png +0 -0
  59. data/doc/images/page_white_width.png +0 -0
  60. data/doc/images/plugin.png +0 -0
  61. data/doc/images/ruby.png +0 -0
  62. data/doc/images/tag_blue.png +0 -0
  63. data/doc/images/tag_green.png +0 -0
  64. data/doc/images/transparent.png +0 -0
  65. data/doc/images/wrench.png +0 -0
  66. data/doc/images/wrench_orange.png +0 -0
  67. data/doc/images/zoom.png +0 -0
  68. data/doc/index.html +129 -0
  69. data/doc/js/darkfish.js +161 -0
  70. data/doc/js/jquery.js +4 -0
  71. data/doc/js/navigation.js +142 -0
  72. data/doc/js/navigation.js.gz +0 -0
  73. data/doc/js/search.js +109 -0
  74. data/doc/js/search_index.js +1 -0
  75. data/doc/js/search_index.js.gz +0 -0
  76. data/doc/js/searcher.js +228 -0
  77. data/doc/js/searcher.js.gz +0 -0
  78. data/doc/prct11_gemspec.html +136 -0
  79. data/doc/table_of_contents.html +301 -0
  80. data/lib/prct11.rb +13 -0
  81. data/lib/prct11/APA.rb +153 -0
  82. data/lib/prct11/DSL.rb +78 -0
  83. data/lib/prct11/book.rb +37 -0
  84. data/lib/prct11/electronicdocument.rb +20 -0
  85. data/lib/prct11/journalarticle.rb +42 -0
  86. data/lib/prct11/linkedList.rb +96 -0
  87. data/lib/prct11/magazinearticle.rb +42 -0
  88. data/lib/prct11/prueba.rb +42 -0
  89. data/lib/prct11/reference.rb +33 -0
  90. data/lib/prct11/regularpublications.rb +6 -0
  91. data/lib/prct11/version.rb +3 -0
  92. data/prct11.gemspec +40 -0
  93. metadata +263 -0
@@ -0,0 +1,164 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>README - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
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
+
20
+
21
+ <body id="top" role="document" class="file">
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>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
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"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
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>
50
+
51
+ </div>
52
+
53
+
54
+ <div class="nav-section">
55
+ <h3>Table of Contents</h3>
56
+
57
+ <ul class="link-list" role="directory">
58
+ <li><a href="#label-Pr-C3-A1ctica+de+laboratorio+-2310">Práctica de laboratorio #10</a>
59
+ <li><a href="#label-Descripci-C3-B3n+de+la+pr-C3-A1ctica-3A+Programaci-C3-B3n+funcional">Descripción de la práctica: Programación funcional</a>
60
+ <li><a href="#label-C3-81rbol+de+ficheros+y+directorios">Árbol de ficheros y directorios</a>
61
+ </ul>
62
+ </div>
63
+
64
+
65
+ <div id="project-metadata">
66
+ <div id="fileindex-section" class="nav-section">
67
+ <h3>Pages</h3>
68
+
69
+ <ul class="link-list">
70
+
71
+ <li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
72
+
73
+ <li><a href="./Gemfile.html">Gemfile</a>
74
+
75
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
76
+
77
+ <li><a href="./Guardfile.html">Guardfile</a>
78
+
79
+ <li><a href="./LICENSE_txt.html">LICENSE</a>
80
+
81
+ <li><a href="./README_md.html">README</a>
82
+
83
+ <li><a href="./Rakefile.html">Rakefile</a>
84
+
85
+ <li><a href="./bin/setup.html">setup</a>
86
+
87
+ <li><a href="./prct11_gemspec.html">prct11.gemspec</a>
88
+
89
+ </ul>
90
+ </div>
91
+
92
+ </div>
93
+ </nav>
94
+
95
+ <main role="main" aria-label="Page README.md">
96
+
97
+ <p><a href="https://travis-ci.org/gcpmendez/prct10"><img
98
+ src="https://travis-ci.org/gcpmendez/prct10.svg?branch=master"></a> <a
99
+ href="https://coveralls.io/github/gcpmendez/prct10?branch=master"><img
100
+ src="https://coveralls.io/repos/gcpmendez/prct10/badge.svg?branch=master&service=github"></a></p>
101
+
102
+ <h1 id="label-Pr-C3-A1ctica+de+laboratorio+-2310">Práctica de laboratorio #10<span><a href="#label-Pr-C3-A1ctica+de+laboratorio+-2310">&para;</a> <a href="#top">&uarr;</a></span></h1>
103
+
104
+ <p>Este práctica ha sido desarrollado en la asignatura de <strong>Lenguajes y
105
+ Paradigmas de la Programación</strong> del <strong><em>Grado en Ingeniería
106
+ Informática</em></strong> de la <strong>ULL</strong>.</p>
107
+
108
+ <h2 id="label-Descripci-C3-B3n+de+la+pr-C3-A1ctica-3A+Programaci-C3-B3n+funcional">Descripción de la práctica: Programación funcional<span><a href="#label-Descripci-C3-B3n+de+la+pr-C3-A1ctica-3A+Programaci-C3-B3n+funcional">&para;</a> <a href="#top">&uarr;</a></span></h2>
109
+
110
+ <p><a
111
+ href="https://github.com/gcpmendez/prct10/blob/master/prct10.pdf">Enunciado
112
+ de la práctica</a></p>
113
+
114
+ <h2 id="label-C3-81rbol+de+ficheros+y+directorios">Árbol de ficheros y directorios<span><a href="#label-C3-81rbol+de+ficheros+y+directorios">&para;</a> <a href="#top">&uarr;</a></span></h2>
115
+
116
+ <pre>.
117
+ ├── CODE_OF_CONDUCT.md
118
+ ├── Gemfile
119
+ ├── Gemfile.lock
120
+ ├── Guardfile
121
+ ├── LICENSE.txt
122
+ ├── README.md
123
+ ├── Rakefile
124
+ ├── bin
125
+ │   ├── console
126
+ │   └── setup
127
+ ├── coverage
128
+ ├── lib
129
+ │   ├── prct10
130
+ │   │   ├── APA.rb
131
+ │   │   ├── book.rb
132
+ │   │   ├── electronicdocument.rb
133
+ │   │   ├── journalarticle.rb
134
+ │   │   ├── linkedList.rb
135
+ │   │   ├── magazinearticle.rb
136
+ │   │   ├── reference.rb
137
+ │   │   ├── regularpublications.rb
138
+ │   │   └── version.rb
139
+ │   └── prct10.rb
140
+ ├── prct10.gemspec
141
+ ├── prct10.pdf
142
+ ├── spec
143
+ │   ├── APA_spec.rb
144
+ │   ├── Comparable_spec.rb
145
+ │   ├── Enumerable_spec.rb
146
+ │   ├── book_spec.rb
147
+ │   ├── electronicdocument_spec.rb
148
+ │   ├── journalarticle_spec.rb
149
+ │   ├── linkedlist_spec.rb
150
+ │   ├── magazinearticle_spec.rb
151
+ │   ├── reference_spec.rb
152
+ │   ├── regularpublications_spec.rb
153
+ │   └── spec_helper.rb
154
+ └── tmp</pre>
155
+ </main>
156
+
157
+
158
+
159
+ <footer id="validator-badges" role="contentinfo">
160
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
161
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
162
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
163
+ </footer>
164
+
@@ -0,0 +1,99 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>Rakefile - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
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
+
20
+
21
+ <body id="top" role="document" class="file">
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>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
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"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
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>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="project-metadata">
56
+ <div id="fileindex-section" class="nav-section">
57
+ <h3>Pages</h3>
58
+
59
+ <ul class="link-list">
60
+
61
+ <li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
62
+
63
+ <li><a href="./Gemfile.html">Gemfile</a>
64
+
65
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
66
+
67
+ <li><a href="./Guardfile.html">Guardfile</a>
68
+
69
+ <li><a href="./LICENSE_txt.html">LICENSE</a>
70
+
71
+ <li><a href="./README_md.html">README</a>
72
+
73
+ <li><a href="./Rakefile.html">Rakefile</a>
74
+
75
+ <li><a href="./bin/setup.html">setup</a>
76
+
77
+ <li><a href="./prct11_gemspec.html">prct11.gemspec</a>
78
+
79
+ </ul>
80
+ </div>
81
+
82
+ </div>
83
+ </nav>
84
+
85
+ <main role="main" aria-label="Page Rakefile">
86
+
87
+ <p>require “bundler/gem_tasks” require “rspec/core/rake_task”</p>
88
+
89
+ <p>RSpec::Core::RakeTask.new task :default =&gt; :spec</p>
90
+ </main>
91
+
92
+
93
+
94
+ <footer id="validator-badges" role="contentinfo">
95
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
96
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
97
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
98
+ </footer>
99
+
@@ -0,0 +1,303 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Reference - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
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
+
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>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
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"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
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>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="class-metadata">
56
+
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
59
+
60
+
61
+ <p class="link"><a href="Object.html">Object</a>
62
+
63
+ </div>
64
+
65
+ <div id="includes-section" class="nav-section">
66
+ <h3>Included Modules</h3>
67
+
68
+ <ul class="link-list">
69
+
70
+
71
+ <li><span class="include">Comparable</span>
72
+
73
+
74
+ </ul>
75
+ </div>
76
+
77
+
78
+ <!-- Method Quickref -->
79
+ <div id="method-list-section" class="nav-section">
80
+ <h3>Methods</h3>
81
+
82
+ <ul class="link-list" role="directory">
83
+
84
+ <li ><a href="#method-c-new">::new</a>
85
+
86
+ <li ><a href="#method-i-3C-3D-3E">#&lt;=&gt;</a>
87
+
88
+ <li ><a href="#method-i-get_title">#get_title</a>
89
+
90
+ </ul>
91
+ </div>
92
+
93
+ </div>
94
+ </nav>
95
+
96
+ <main role="main" aria-labelledby="class-Reference">
97
+ <h1 id="class-Reference" class="class">
98
+ class Reference
99
+ </h1>
100
+
101
+ <section class="description">
102
+
103
+ </section>
104
+
105
+
106
+
107
+
108
+ <section id="5Buntitled-5D" class="documentation-section">
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ <section class="attribute-method-details" class="method-section">
117
+ <header>
118
+ <h3>Attributes</h3>
119
+ </header>
120
+
121
+
122
+ <div id="attribute-i-authors" class="method-detail">
123
+ <div class="method-heading attribute-method-heading">
124
+ <span class="method-name">authors</span><span
125
+ class="attribute-access-type">[RW]</span>
126
+ </div>
127
+
128
+ <div class="method-description">
129
+
130
+
131
+
132
+ </div>
133
+ </div>
134
+
135
+ <div id="attribute-i-date" class="method-detail">
136
+ <div class="method-heading attribute-method-heading">
137
+ <span class="method-name">date</span><span
138
+ class="attribute-access-type">[RW]</span>
139
+ </div>
140
+
141
+ <div class="method-description">
142
+
143
+
144
+
145
+ </div>
146
+ </div>
147
+
148
+ <div id="attribute-i-title" class="method-detail">
149
+ <div class="method-heading attribute-method-heading">
150
+ <span class="method-name">title</span><span
151
+ class="attribute-access-type">[RW]</span>
152
+ </div>
153
+
154
+ <div class="method-description">
155
+
156
+
157
+
158
+ </div>
159
+ </div>
160
+
161
+ </section>
162
+
163
+
164
+
165
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
166
+ <header>
167
+ <h3>Public Class Methods</h3>
168
+ </header>
169
+
170
+
171
+ <div id="method-c-new" class="method-detail ">
172
+
173
+ <div class="method-heading">
174
+ <span class="method-name">new</span><span
175
+ class="method-args">(authors, title, date)</span>
176
+
177
+ <span class="method-click-advice">click to toggle source</span>
178
+
179
+ </div>
180
+
181
+
182
+ <div class="method-description">
183
+
184
+
185
+
186
+
187
+
188
+
189
+ <div class="method-source-code" id="new-source">
190
+ <pre><span class="ruby-comment"># File lib/prct11/reference.rb, line 6</span>
191
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">authors</span>, <span class="ruby-identifier">title</span>, <span class="ruby-identifier">date</span>)
192
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">authors</span> = []
193
+ <span class="ruby-identifier">authors</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">palabras</span><span class="ruby-operator">|</span>
194
+ <span class="ruby-ivar">@authors</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">palabras</span>)
195
+ <span class="ruby-keyword">end</span>
196
+ <span class="ruby-ivar">@title</span> = <span class="ruby-identifier">title</span>
197
+ <span class="ruby-ivar">@date</span> = <span class="ruby-identifier">date</span>
198
+ <span class="ruby-keyword">end</span></pre>
199
+ </div>
200
+
201
+ </div>
202
+
203
+
204
+
205
+
206
+ </div>
207
+
208
+
209
+ </section>
210
+
211
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
212
+ <header>
213
+ <h3>Public Instance Methods</h3>
214
+ </header>
215
+
216
+
217
+ <div id="method-i-3C-3D-3E" class="method-detail ">
218
+
219
+ <div class="method-heading">
220
+ <span class="method-name">&lt;=&gt;</span><span
221
+ class="method-args">(other)</span>
222
+
223
+ <span class="method-click-advice">click to toggle source</span>
224
+
225
+ </div>
226
+
227
+
228
+ <div class="method-description">
229
+
230
+
231
+
232
+
233
+
234
+
235
+ <div class="method-source-code" id="3C-3D-3E-source">
236
+ <pre><span class="ruby-comment"># File lib/prct11/reference.rb, line 19</span>
237
+ <span class="ruby-keyword">def</span> <span class="ruby-operator">&lt;=&gt;</span>(<span class="ruby-identifier">other</span>)
238
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">Reference</span>
239
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">authors</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">authors</span> <span class="ruby-keyword">then</span>
240
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">date</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">date</span>
241
+ <span class="ruby-identifier">title</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">title</span>
242
+ <span class="ruby-keyword">else</span>
243
+ <span class="ruby-identifier">date</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">date</span>
244
+ <span class="ruby-keyword">end</span>
245
+ <span class="ruby-keyword">else</span>
246
+ <span class="ruby-identifier">authors</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">authors</span>
247
+ <span class="ruby-keyword">end</span>
248
+ <span class="ruby-keyword">end</span></pre>
249
+ </div>
250
+
251
+ </div>
252
+
253
+
254
+
255
+
256
+ </div>
257
+
258
+
259
+ <div id="method-i-get_title" class="method-detail ">
260
+
261
+ <div class="method-heading">
262
+ <span class="method-name">get_title</span><span
263
+ class="method-args">()</span>
264
+
265
+ <span class="method-click-advice">click to toggle source</span>
266
+
267
+ </div>
268
+
269
+
270
+ <div class="method-description">
271
+
272
+
273
+
274
+
275
+
276
+
277
+ <div class="method-source-code" id="get_title-source">
278
+ <pre><span class="ruby-comment"># File lib/prct11/reference.rb, line 15</span>
279
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_title</span>
280
+ <span class="ruby-ivar">@title</span>
281
+ <span class="ruby-keyword">end</span></pre>
282
+ </div>
283
+
284
+ </div>
285
+
286
+
287
+
288
+
289
+ </div>
290
+
291
+
292
+ </section>
293
+
294
+ </section>
295
+ </main>
296
+
297
+
298
+ <footer id="validator-badges" role="contentinfo">
299
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
300
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
301
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
302
+ </footer>
303
+