MiDSL-prct11 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +6 -0
- data/Gemfile +5 -0
- data/Guardfile +82 -0
- data/README.md +39 -0
- data/Rakefile +9 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/doc/Gemfile.html +96 -0
- data/doc/Gemfile_lock.html +172 -0
- data/doc/Guardfile.html +176 -0
- data/doc/Prct07.html +149 -0
- data/doc/Prct07/Bibliografia.html +305 -0
- data/doc/Prct07/DSL.html +285 -0
- data/doc/Prct07/List.html +375 -0
- data/doc/Prct07/Periodicas.html +180 -0
- data/doc/README_md.html +160 -0
- data/doc/Rakefile.html +102 -0
- data/doc/bin/setup.html +97 -0
- data/doc/created.rid +14 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +590 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +109 -0
- data/doc/js/darkfish.js +161 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +228 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/prct07_gemspec.html +125 -0
- data/doc/table_of_contents.html +158 -0
- data/lib/prct07.rb +5 -0
- data/lib/prct07/bibliografia.rb +155 -0
- data/lib/prct07/version.rb +3 -0
- data/prct07.gemspec +41 -0
- metadata +183 -0
data/doc/Guardfile.html
ADDED
@@ -0,0 +1,176 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Guardfile - 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="./Gemfile.html">Gemfile</a>
|
62
|
+
|
63
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
64
|
+
|
65
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
66
|
+
|
67
|
+
<li><a href="./README_md.html">README</a>
|
68
|
+
|
69
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
70
|
+
|
71
|
+
<li><a href="./bin/setup.html">setup</a>
|
72
|
+
|
73
|
+
<li><a href="./prct07_gemspec.html">prct07.gemspec</a>
|
74
|
+
|
75
|
+
</ul>
|
76
|
+
</div>
|
77
|
+
|
78
|
+
</div>
|
79
|
+
</nav>
|
80
|
+
|
81
|
+
<main role="main" aria-label="Page Guardfile">
|
82
|
+
|
83
|
+
<p># A sample <a href="Guardfile.html">Guardfile</a> # More info at <a
|
84
|
+
href="https://github.com/guard/guard#readme">github.com/guard/guard#readme</a></p>
|
85
|
+
|
86
|
+
<p>## Uncomment and set this to only include directories you want to watch #
|
87
|
+
directories %w(app lib config test spec features) \ # .select{|d|
|
88
|
+
Dir.exists?(d) ? d : UI.warning(“Directory #{d} does not exist”)}</p>
|
89
|
+
|
90
|
+
<p>## Note: if you are using the `directories` clause above and you are not ##
|
91
|
+
watching the project directory ('.'), then you will want to move ##
|
92
|
+
the <a href="Guardfile.html">Guardfile</a> to a watched dir and symlink it
|
93
|
+
back, e.g. # # $ mkdir config # $ mv <a
|
94
|
+
href="Guardfile.html">Guardfile</a> config/ # $ ln -s config/Guardfile . #
|
95
|
+
# and, you'll have to watch “config/Guardfile” instead of “Guardfile”</p>
|
96
|
+
|
97
|
+
<p>guard :bundler do</p>
|
98
|
+
|
99
|
+
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'guard/bundler'</span>
|
100
|
+
<span class="ruby-identifier">require</span> <span class="ruby-string">'guard/bundler/verify'</span>
|
101
|
+
<span class="ruby-identifier">helper</span> = <span class="ruby-constant">Guard</span><span class="ruby-operator">::</span><span class="ruby-constant">Bundler</span><span class="ruby-operator">::</span><span class="ruby-constant">Verify</span>.<span class="ruby-identifier">new</span>
|
102
|
+
|
103
|
+
<span class="ruby-identifier">files</span> = [<span class="ruby-string">'Gemfile'</span>]
|
104
|
+
<span class="ruby-identifier">files</span> <span class="ruby-operator">+=</span> <span class="ruby-constant">Dir</span>[<span class="ruby-string">'*.gemspec'</span>] <span class="ruby-keyword">if</span> <span class="ruby-identifier">files</span>.<span class="ruby-identifier">any?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">helper</span>.<span class="ruby-identifier">uses_gemspec?</span>(<span class="ruby-identifier">f</span>) }
|
105
|
+
|
106
|
+
<span class="ruby-comment"># Assume files are symlinked from somewhere</span>
|
107
|
+
<span class="ruby-identifier">files</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span> <span class="ruby-identifier">watch</span>(<span class="ruby-identifier">helper</span>.<span class="ruby-identifier">real_path</span>(<span class="ruby-identifier">file</span>)) }
|
108
|
+
</pre>
|
109
|
+
|
110
|
+
<p>end</p>
|
111
|
+
|
112
|
+
<p># Note: The cmd option is now required due to the increasing number of ways
|
113
|
+
# rspec may be run, below are examples of the most common uses. # *
|
114
|
+
bundler: 'bundle exec rspec' # * bundler binstubs:
|
115
|
+
'bin/rspec' # * spring: 'bin/rspec' (This will use spring
|
116
|
+
if running and you have # installed the spring
|
117
|
+
binstubs per the docs) # * zeus: 'zeus rspec' (requires the server
|
118
|
+
to be started separately) # * 'just' rspec: 'rspec'</p>
|
119
|
+
|
120
|
+
<p>guard :rspec, cmd: “bundle exec rspec” do</p>
|
121
|
+
|
122
|
+
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">"guard/rspec/dsl"</span>
|
123
|
+
<span class="ruby-identifier">dsl</span> = <span class="ruby-constant">Guard</span><span class="ruby-operator">::</span><span class="ruby-constant">RSpec</span><span class="ruby-operator">::</span><span class="ruby-constant">Dsl</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>)
|
124
|
+
|
125
|
+
<span class="ruby-comment"># Feel free to open issues for suggestions and improvements</span>
|
126
|
+
|
127
|
+
<span class="ruby-comment"># RSpec files</span>
|
128
|
+
<span class="ruby-identifier">rspec</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">rspec</span>
|
129
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_helper</span>) { <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_dir</span> }
|
130
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_support</span>) { <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_dir</span> }
|
131
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_files</span>)
|
132
|
+
|
133
|
+
<span class="ruby-comment"># Ruby files</span>
|
134
|
+
<span class="ruby-identifier">ruby</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">ruby</span>
|
135
|
+
<span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">watch_spec_files_for</span>(<span class="ruby-identifier">ruby</span>.<span class="ruby-identifier">lib_files</span>)
|
136
|
+
|
137
|
+
<span class="ruby-comment"># Rails files</span>
|
138
|
+
<span class="ruby-identifier">rails</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">rails</span>(<span class="ruby-identifier">view_extensions</span><span class="ruby-operator">:</span> <span class="ruby-node">%w(erb haml slim)</span>)
|
139
|
+
<span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">watch_spec_files_for</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">app_files</span>)
|
140
|
+
<span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">watch_spec_files_for</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">views</span>)
|
141
|
+
|
142
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">controllers</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span>
|
143
|
+
[
|
144
|
+
<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">"routing/#{m[1]}_routing"</span>),
|
145
|
+
<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">"controllers/#{m[1]}_controller"</span>),
|
146
|
+
<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">"acceptance/#{m[1]}"</span>)
|
147
|
+
]
|
148
|
+
<span class="ruby-keyword">end</span>
|
149
|
+
|
150
|
+
<span class="ruby-comment"># Rails config changes</span>
|
151
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">spec_helper</span>) { <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_dir</span> }
|
152
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">routes</span>) { <span class="ruby-node">"#{rspec.spec_dir}/routing"</span> }
|
153
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">app_controller</span>) { <span class="ruby-node">"#{rspec.spec_dir}/controllers"</span> }
|
154
|
+
|
155
|
+
<span class="ruby-comment"># Capybara features specs</span>
|
156
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">view_dirs</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">"features/#{m[1]}"</span>) }
|
157
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">layouts</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">"features/#{m[1]}"</span>) }
|
158
|
+
|
159
|
+
<span class="ruby-comment"># Turnip features and steps</span>
|
160
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/(.+)\.feature$}</span>)
|
161
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/steps/(.+)_steps\.rb$}</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span>
|
162
|
+
<span class="ruby-constant">Dir</span>[<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-node">"**/#{m[1]}.feature"</span>)][<span class="ruby-value">0</span>] <span class="ruby-operator">||</span> <span class="ruby-string">"spec/acceptance"</span>
|
163
|
+
<span class="ruby-keyword">end</span>
|
164
|
+
</pre>
|
165
|
+
|
166
|
+
<p>end</p>
|
167
|
+
</main>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
<footer id="validator-badges" role="contentinfo">
|
172
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
173
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
174
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
175
|
+
</footer>
|
176
|
+
|
data/doc/Prct07.html
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>module Prct07 - 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="module">
|
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="#module-Prct07-label-bibliografia.rb">bibliografia.rb</a>
|
59
|
+
<li><a href="#module-Prct07-label-Documentacion+generada+con+RDOC">Documentacion generada con RDOC</a>
|
60
|
+
<li><a href="#module-Prct07-label-class+Bibliografia">class Bibliografia</a>
|
61
|
+
<li><a href="#module-Prct07-label-class+List">class List</a>
|
62
|
+
<li><a href="#module-Prct07-label-class+Periodicas-3CBibliografia">class Periodicas<Bibliografia</a>
|
63
|
+
<li><a href="#module-Prct07-label-class+DSL">class DSL</a>
|
64
|
+
</ul>
|
65
|
+
</div>
|
66
|
+
|
67
|
+
|
68
|
+
<div id="class-metadata">
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
</div>
|
75
|
+
</nav>
|
76
|
+
|
77
|
+
<main role="main" aria-labelledby="module-Prct07">
|
78
|
+
<h1 id="module-Prct07" class="module">
|
79
|
+
module Prct07
|
80
|
+
</h1>
|
81
|
+
|
82
|
+
<section class="description">
|
83
|
+
|
84
|
+
<h1 id="module-Prct07-label-bibliografia.rb">bibliografia.rb<span><a href="#module-Prct07-label-bibliografia.rb">¶</a> <a href="#top">↑</a></span></h1>
|
85
|
+
|
86
|
+
<p>Autor: Gabriel Garcia Ventura</p>
|
87
|
+
|
88
|
+
<h2 id="module-Prct07-label-Documentacion+generada+con+RDOC">Documentacion generada con RDOC<span><a href="#module-Prct07-label-Documentacion+generada+con+RDOC">¶</a> <a href="#top">↑</a></span></h2>
|
89
|
+
|
90
|
+
<h3 id="module-Prct07-label-class+Bibliografia">class <a href="Prct07/Bibliografia.html">Bibliografia</a><span><a href="#module-Prct07-label-class+Bibliografia">¶</a> <a href="#top">↑</a></span></h3>
|
91
|
+
|
92
|
+
<p>*metodo initialize *metodo to_s *metodo <=></p>
|
93
|
+
|
94
|
+
<h3 id="module-Prct07-label-class+List">class <a href="Prct07/List.html">List</a><span><a href="#module-Prct07-label-class+List">¶</a> <a href="#top">↑</a></span></h3>
|
95
|
+
|
96
|
+
<p>*metodo each *metodo push *metodo pop *push_final *pop_final</p>
|
97
|
+
|
98
|
+
<h3 id="module-Prct07-label-class+Periodicas-3CBibliografia">class <a href="Prct07/Periodicas.html">Periodicas</a><Bibliografia<span><a href="#module-Prct07-label-class+Periodicas-3CBibliografia">¶</a> <a href="#top">↑</a></span></h3>
|
99
|
+
|
100
|
+
<p>*metodo initialize</p>
|
101
|
+
|
102
|
+
<h3 id="module-Prct07-label-class+DSL">class <a href="Prct07/DSL.html">DSL</a><span><a href="#module-Prct07-label-class+DSL">¶</a> <a href="#top">↑</a></span></h3>
|
103
|
+
|
104
|
+
<p>*metodo initialize *metodo libro *metodo to_s</p>
|
105
|
+
|
106
|
+
</section>
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
<section class="constants-list">
|
118
|
+
<header>
|
119
|
+
<h3>Constants</h3>
|
120
|
+
</header>
|
121
|
+
<dl>
|
122
|
+
|
123
|
+
<dt id="Node">Node
|
124
|
+
|
125
|
+
<dd>
|
126
|
+
|
127
|
+
|
128
|
+
<dt id="VERSION">VERSION
|
129
|
+
|
130
|
+
<dd>
|
131
|
+
|
132
|
+
|
133
|
+
</dl>
|
134
|
+
</section>
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
</section>
|
141
|
+
</main>
|
142
|
+
|
143
|
+
|
144
|
+
<footer id="validator-badges" role="contentinfo">
|
145
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
146
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
147
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
148
|
+
</footer>
|
149
|
+
|
@@ -0,0 +1,305 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>class Prct07::Bibliografia - 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">Object
|
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">#<=></a>
|
87
|
+
|
88
|
+
<li ><a href="#method-i-to_s">#to_s</a>
|
89
|
+
|
90
|
+
</ul>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
</div>
|
94
|
+
</nav>
|
95
|
+
|
96
|
+
<main role="main" aria-labelledby="class-Prct07::Bibliografia">
|
97
|
+
<h1 id="class-Prct07::Bibliografia" class="class">
|
98
|
+
class Prct07::Bibliografia
|
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-autor" class="method-detail">
|
123
|
+
<div class="method-heading attribute-method-heading">
|
124
|
+
<span class="method-name">autor</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-fecha" class="method-detail">
|
136
|
+
<div class="method-heading attribute-method-heading">
|
137
|
+
<span class="method-name">fecha</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-titulo" class="method-detail">
|
162
|
+
<div class="method-heading attribute-method-heading">
|
163
|
+
<span class="method-name">titulo</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">(autor, titulo, isbn, fecha)</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
|
+
|
201
|
+
|
202
|
+
<div class="method-source-code" id="new-source">
|
203
|
+
<pre><span class="ruby-comment"># File lib/prct07/bibliografia.rb, line 35</span>
|
204
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">autor</span>, <span class="ruby-identifier">titulo</span>, <span class="ruby-identifier">isbn</span>, <span class="ruby-identifier">fecha</span>)
|
205
|
+
<span class="ruby-ivar">@autor</span> = <span class="ruby-identifier">autor</span>
|
206
|
+
<span class="ruby-ivar">@titulo</span> = <span class="ruby-identifier">titulo</span>
|
207
|
+
<span class="ruby-ivar">@isbn</span> = <span class="ruby-identifier">isbn</span>
|
208
|
+
<span class="ruby-ivar">@fecha</span> = <span class="ruby-identifier">fecha</span>
|
209
|
+
<span class="ruby-keyword">end</span></pre>
|
210
|
+
</div>
|
211
|
+
|
212
|
+
</div>
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
</div>
|
218
|
+
|
219
|
+
|
220
|
+
</section>
|
221
|
+
|
222
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
223
|
+
<header>
|
224
|
+
<h3>Public Instance Methods</h3>
|
225
|
+
</header>
|
226
|
+
|
227
|
+
|
228
|
+
<div id="method-i-3C-3D-3E" class="method-detail ">
|
229
|
+
|
230
|
+
<div class="method-heading">
|
231
|
+
<span class="method-name"><=></span><span
|
232
|
+
class="method-args">(anOther)</span>
|
233
|
+
|
234
|
+
<span class="method-click-advice">click to toggle source</span>
|
235
|
+
|
236
|
+
</div>
|
237
|
+
|
238
|
+
|
239
|
+
<div class="method-description">
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
<div class="method-source-code" id="3C-3D-3E-source">
|
247
|
+
<pre><span class="ruby-comment"># File lib/prct07/bibliografia.rb, line 46</span>
|
248
|
+
<span class="ruby-keyword">def</span> <span class="ruby-operator"><=></span>(<span class="ruby-identifier">anOther</span>)
|
249
|
+
<span class="ruby-identifier">titulo</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator"><=></span> <span class="ruby-identifier">anOther</span>.<span class="ruby-identifier">titulo</span>.<span class="ruby-identifier">size</span>
|
250
|
+
<span class="ruby-keyword">end</span></pre>
|
251
|
+
</div>
|
252
|
+
|
253
|
+
</div>
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
</div>
|
259
|
+
|
260
|
+
|
261
|
+
<div id="method-i-to_s" class="method-detail ">
|
262
|
+
|
263
|
+
<div class="method-heading">
|
264
|
+
<span class="method-name">to_s</span><span
|
265
|
+
class="method-args">()</span>
|
266
|
+
|
267
|
+
<span class="method-click-advice">click to toggle source</span>
|
268
|
+
|
269
|
+
</div>
|
270
|
+
|
271
|
+
|
272
|
+
<div class="method-description">
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
<div class="method-source-code" id="to_s-source">
|
280
|
+
<pre><span class="ruby-comment"># File lib/prct07/bibliografia.rb, line 42</span>
|
281
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
282
|
+
<span class="ruby-node">"Autor: #{@autor}\n Titulo: #{@titulo}\n ISBN: #{@isbn}\n Fecha: #{@fecha}\n"</span>
|
283
|
+
<span class="ruby-keyword">end</span></pre>
|
284
|
+
</div>
|
285
|
+
|
286
|
+
</div>
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
</div>
|
292
|
+
|
293
|
+
|
294
|
+
</section>
|
295
|
+
|
296
|
+
</section>
|
297
|
+
</main>
|
298
|
+
|
299
|
+
|
300
|
+
<footer id="validator-badges" role="contentinfo">
|
301
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
302
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
303
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
304
|
+
</footer>
|
305
|
+
|