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,296 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Book - 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="Reference.html">Reference</a>
62
+
63
+ </div>
64
+
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <div id="method-list-section" class="nav-section">
69
+ <h3>Methods</h3>
70
+
71
+ <ul class="link-list" role="directory">
72
+
73
+ <li class="calls-super" ><a href="#method-c-new">::new</a>
74
+
75
+ <li ><a href="#method-i-to_s">#to_s</a>
76
+
77
+ </ul>
78
+ </div>
79
+
80
+ </div>
81
+ </nav>
82
+
83
+ <main role="main" aria-labelledby="class-Book">
84
+ <h1 id="class-Book" class="class">
85
+ class Book
86
+ </h1>
87
+
88
+ <section class="description">
89
+
90
+ </section>
91
+
92
+
93
+
94
+
95
+ <section id="5Buntitled-5D" class="documentation-section">
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+ <section class="attribute-method-details" class="method-section">
104
+ <header>
105
+ <h3>Attributes</h3>
106
+ </header>
107
+
108
+
109
+ <div id="attribute-i-authors" class="method-detail">
110
+ <div class="method-heading attribute-method-heading">
111
+ <span class="method-name">authors</span><span
112
+ class="attribute-access-type">[RW]</span>
113
+ </div>
114
+
115
+ <div class="method-description">
116
+
117
+
118
+
119
+ </div>
120
+ </div>
121
+
122
+ <div id="attribute-i-edition" class="method-detail">
123
+ <div class="method-heading attribute-method-heading">
124
+ <span class="method-name">edition</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-editorial" class="method-detail">
136
+ <div class="method-heading attribute-method-heading">
137
+ <span class="method-name">editorial</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-isbn" class="method-detail">
149
+ <div class="method-heading attribute-method-heading">
150
+ <span class="method-name">isbn</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
+ <div id="attribute-i-volume" class="method-detail">
162
+ <div class="method-heading attribute-method-heading">
163
+ <span class="method-name">volume</span><span
164
+ class="attribute-access-type">[RW]</span>
165
+ </div>
166
+
167
+ <div class="method-description">
168
+
169
+
170
+
171
+ </div>
172
+ </div>
173
+
174
+ </section>
175
+
176
+
177
+
178
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
179
+ <header>
180
+ <h3>Public Class Methods</h3>
181
+ </header>
182
+
183
+
184
+ <div id="method-c-new" class="method-detail ">
185
+
186
+ <div class="method-heading">
187
+ <span class="method-name">new</span><span
188
+ class="method-args">(title,editorial,edition,date,isbn,authors, volume)</span>
189
+
190
+ <span class="method-click-advice">click to toggle source</span>
191
+
192
+ </div>
193
+
194
+
195
+ <div class="method-description">
196
+
197
+
198
+
199
+
200
+ <div class="method-calls-super">
201
+ Calls superclass method
202
+ <a href="Reference.html#method-c-new">Reference.new</a>
203
+ </div>
204
+
205
+
206
+
207
+ <div class="method-source-code" id="new-source">
208
+ <pre><span class="ruby-comment"># File lib/prct11/book.rb, line 6</span>
209
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">title</span>,<span class="ruby-identifier">editorial</span>,<span class="ruby-identifier">edition</span>,<span class="ruby-identifier">date</span>,<span class="ruby-identifier">isbn</span>,<span class="ruby-identifier">authors</span>, <span class="ruby-identifier">volume</span>)
210
+ <span class="ruby-keyword">super</span>(<span class="ruby-identifier">authors</span>,<span class="ruby-identifier">title</span>,<span class="ruby-identifier">date</span>)
211
+ <span class="ruby-ivar">@authors</span> = <span class="ruby-identifier">authors</span>
212
+ <span class="ruby-ivar">@volume</span> = <span class="ruby-identifier">volume</span>
213
+ <span class="ruby-ivar">@editorial</span> = <span class="ruby-identifier">editorial</span>
214
+ <span class="ruby-ivar">@edition</span> = <span class="ruby-identifier">edition</span>
215
+
216
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">isbn</span> = []
217
+ <span class="ruby-identifier">isbn</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">numeros</span><span class="ruby-operator">|</span>
218
+ <span class="ruby-ivar">@isbn</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">numeros</span>)
219
+ <span class="ruby-keyword">end</span>
220
+ <span class="ruby-keyword">return</span> <span class="ruby-keyword">self</span>
221
+ <span class="ruby-keyword">end</span></pre>
222
+ </div>
223
+
224
+ </div>
225
+
226
+
227
+
228
+
229
+ </div>
230
+
231
+
232
+ </section>
233
+
234
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
235
+ <header>
236
+ <h3>Public Instance Methods</h3>
237
+ </header>
238
+
239
+
240
+ <div id="method-i-to_s" class="method-detail ">
241
+
242
+ <div class="method-heading">
243
+ <span class="method-name">to_s</span><span
244
+ class="method-args">()</span>
245
+
246
+ <span class="method-click-advice">click to toggle source</span>
247
+
248
+ </div>
249
+
250
+
251
+ <div class="method-description">
252
+
253
+
254
+
255
+
256
+
257
+
258
+ <div class="method-source-code" id="to_s-source">
259
+ <pre><span class="ruby-comment"># File lib/prct11/book.rb, line 20</span>
260
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
261
+ <span class="ruby-identifier">text</span>=<span class="ruby-string">&quot;&quot;</span>
262
+
263
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword">in</span> (<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-ivar">@authors</span>.<span class="ruby-identifier">size</span><span class="ruby-operator">-</span><span class="ruby-value">2</span>)
264
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{authors[i]} , &quot;</span>
265
+ <span class="ruby-keyword">end</span>
266
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{authors[authors.size-1]}.&quot;</span>
267
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\n#{@title}.&quot;</span>
268
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\n#{@volume}.&quot;</span>
269
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\n#{@editorial}; #{@edition} Edition (#{@date}).&quot;</span>
270
+ <span class="ruby-keyword">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword">in</span> (<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-ivar">@isbn</span>.<span class="ruby-identifier">size</span><span class="ruby-operator">-</span><span class="ruby-value">1</span>)
271
+ <span class="ruby-identifier">text</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;\nISBN #{@isbn[i].length}: #{@isbn[i]}.&quot;</span>
272
+ <span class="ruby-keyword">end</span>
273
+ <span class="ruby-identifier">text</span>
274
+ <span class="ruby-keyword">end</span></pre>
275
+ </div>
276
+
277
+ </div>
278
+
279
+
280
+
281
+
282
+ </div>
283
+
284
+
285
+ </section>
286
+
287
+ </section>
288
+ </main>
289
+
290
+
291
+ <footer id="validator-badges" role="contentinfo">
292
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
293
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
294
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
295
+ </footer>
296
+
@@ -0,0 +1,125 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>CODE_OF_CONDUCT - 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 CODE_OF_CONDUCT.md">
86
+
87
+ <h1 id="label-Contributor+Code+of+Conduct">Contributor Code of Conduct<span><a href="#label-Contributor+Code+of+Conduct">&para;</a> <a href="#top">&uarr;</a></span></h1>
88
+
89
+ <p>As contributors and maintainers of this project, we pledge to respect all
90
+ people who contribute through reporting issues, posting feature requests,
91
+ updating documentation, submitting pull requests or patches, and other
92
+ activities.</p>
93
+
94
+ <p>We are committed to making participation in this project a harassment-free
95
+ experience for everyone, regardless of level of experience, gender, gender
96
+ identity and expression, sexual orientation, disability, personal
97
+ appearance, body size, race, ethnicity, age, or religion.</p>
98
+
99
+ <p>Examples of unacceptable behavior by participants include the use of sexual
100
+ language or imagery, derogatory comments or personal attacks, trolling,
101
+ public or private harassment, insults, or other unprofessional conduct.</p>
102
+
103
+ <p>Project maintainers have the right and responsibility to remove, edit, or
104
+ reject comments, commits, code, wiki edits, issues, and other contributions
105
+ that are not aligned to this Code of Conduct. Project maintainers who do
106
+ not follow the Code of Conduct may be removed from the project team.</p>
107
+
108
+ <p>Instances of abusive, harassing, or otherwise unacceptable behavior may be
109
+ reported by opening an issue or contacting one or more of the project
110
+ maintainers.</p>
111
+
112
+ <p>This Code of Conduct is adapted from the <a
113
+ href="http://contributor-covenant.org">Contributor Covenant</a>, version
114
+ 1.0.0, available at <a
115
+ href="http://contributor-covenant.org/version/1/0/0/">contributor-covenant.org/version/1/0/0/</a></p>
116
+ </main>
117
+
118
+
119
+
120
+ <footer id="validator-badges" role="contentinfo">
121
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
122
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
123
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
124
+ </footer>
125
+
@@ -0,0 +1,153 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class DSL - 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
+
66
+
67
+ <!-- Method Quickref -->
68
+ <div id="method-list-section" class="nav-section">
69
+ <h3>Methods</h3>
70
+
71
+ <ul class="link-list" role="directory">
72
+
73
+ <li ><a href="#method-c-Book">::Book</a>
74
+
75
+ </ul>
76
+ </div>
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-labelledby="class-DSL">
82
+ <h1 id="class-DSL" class="class">
83
+ class DSL
84
+ </h1>
85
+
86
+ <section class="description">
87
+
88
+ </section>
89
+
90
+
91
+
92
+
93
+ <section id="5Buntitled-5D" class="documentation-section">
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
104
+ <header>
105
+ <h3>Public Class Methods</h3>
106
+ </header>
107
+
108
+
109
+ <div id="method-c-Book" class="method-detail ">
110
+
111
+ <div class="method-heading">
112
+ <span class="method-name">Book</span><span
113
+ class="method-args">(&block)</span>
114
+
115
+ <span class="method-click-advice">click to toggle source</span>
116
+
117
+ </div>
118
+
119
+
120
+ <div class="method-description">
121
+
122
+
123
+
124
+
125
+
126
+
127
+ <div class="method-source-code" id="Book-source">
128
+ <pre><span class="ruby-comment"># File lib/prct11/prueba.rb, line 2</span>
129
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-constant">Book</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
130
+ <span class="ruby-constant">DSLBook</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">block</span>)
131
+ <span class="ruby-keyword">end</span></pre>
132
+ </div>
133
+
134
+ </div>
135
+
136
+
137
+
138
+
139
+ </div>
140
+
141
+
142
+ </section>
143
+
144
+ </section>
145
+ </main>
146
+
147
+
148
+ <footer id="validator-badges" role="contentinfo">
149
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
150
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
151
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
152
+ </footer>
153
+