blabla 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,2 @@
1
+ blabla*.gem
2
+ .yardoc/*
data/.yardopts ADDED
@@ -0,0 +1,5 @@
1
+ --readme README.md
2
+ --title 'Documentação da Gem BlaBla'
3
+ --charset utf-8
4
+ --markup markdown
5
+ 'lib/**/*.rb' - '*.rdoc'
data/README.md CHANGED
@@ -18,13 +18,15 @@ Porém, para a realidade das nossas aplicações, o Faker fica devendo muita coi
18
18
  * Gerador de Lorem Ipsum
19
19
  * Gerador de Nomes Próprios de Pessoas
20
20
 
21
+ ###Na versão 0.0.2 foi incluído:
22
+ * Gerador de ISBN
23
+
21
24
  ###Para as próximas versões devem vir:
22
25
 
23
26
  * Gerador de CEP
24
27
  * Gerador de Endereços
25
28
  * Gerador de URLs
26
29
  * Gerador de Email
27
- * Gerador de ISBN
28
30
  * Gerador de Telefones
29
31
  * Gerador de Senhas
30
32
  * Entre outras coisas ... =)
@@ -51,11 +53,13 @@ BlaBla::CartaoCredito.formatado(:bandeira => :visa) #=> "4398 2852 4214 7717"
51
53
  BlaBla::Pessoa.nome #=> "Viviane Alves Almeida"
52
54
 
53
55
  BlaBla::Bacon.frase #=> "Flank round belly chuck mignon jowl ham beef mignon."
56
+
57
+ BlaBla::ISBN.formatado #=> "978-597-85-2673-8"
54
58
  ```
55
59
 
56
60
  Contribuindo
57
61
  ------------
58
- Se você deseja contribuir, faça um Fork do [repo](https://github.com/alcidesqueiroz/faker) no Github, faça as suas alterações e mande um pull request.
62
+ Se você deseja contribuir, faça um Fork do [repo](https://github.com/alcidesqueiroz/BlaBla) no Github, faça as suas alterações e mande um pull request.
59
63
 
60
64
  **Nota importante**
61
65
 
data/doc/BlaBla.html ADDED
@@ -0,0 +1,311 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Module: BlaBla
8
+
9
+ &mdash; Documentação da Gem BlaBla
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index (B)</a> &raquo;
35
+
36
+
37
+ <span class="title">BlaBla</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Module: BlaBla
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ <dt class="r1 last">Defined in:</dt>
82
+ <dd class="r1 last">lib/blabla.rb<span class="defines">,<br />
83
+ lib/version.rb,<br /> lib/generators/cpf.rb,<br /> lib/utilities/util.rb,<br /> lib/generators/isbn.rb,<br /> lib/generators/cnpj.rb,<br /> lib/generators/pessoa.rb,<br /> lib/generators/texto/base.rb,<br /> lib/generators/texto/lorem.rb,<br /> lib/generators/texto/bacon.rb,<br /> lib/generators/cartao_credito.rb</span>
84
+ </dd>
85
+
86
+ </dl>
87
+ <div class="clear"></div>
88
+
89
+ <h2>Defined Under Namespace</h2>
90
+ <p class="children">
91
+
92
+
93
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="BlaBla/Texto.html" title="BlaBla::Texto (module)">Texto</a></span>
94
+
95
+
96
+
97
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="BlaBla/Bacon.html" title="BlaBla::Bacon (class)">Bacon</a></span>, <span class='object_link'><a href="BlaBla/CNPJ.html" title="BlaBla::CNPJ (class)">CNPJ</a></span>, <span class='object_link'><a href="BlaBla/CPF.html" title="BlaBla::CPF (class)">CPF</a></span>, <span class='object_link'><a href="BlaBla/CartaoCredito.html" title="BlaBla::CartaoCredito (class)">CartaoCredito</a></span>, <span class='object_link'><a href="BlaBla/ISBN.html" title="BlaBla::ISBN (class)">ISBN</a></span>, <span class='object_link'><a href="BlaBla/Lorem.html" title="BlaBla::Lorem (class)">Lorem</a></span>, <span class='object_link'><a href="BlaBla/Pessoa.html" title="BlaBla::Pessoa (class)">Pessoa</a></span>, <span class='object_link'><a href="BlaBla/Util.html" title="BlaBla::Util (class)">Util</a></span>
98
+
99
+
100
+ </p>
101
+
102
+ <h2>Constant Summary</h2>
103
+
104
+ <dl class="constants">
105
+
106
+ <dt id="VERSION-constant" class="">VERSION =
107
+
108
+ </dt>
109
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.0.2</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
110
+
111
+ <dt id="strings-classvariable" class="">@@strings =
112
+
113
+ </dt>
114
+ <dd><pre class="code"><span class='kw'>nil</span></pre></dd>
115
+
116
+ </dl>
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+ <h2>
127
+ Class Method Summary
128
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
129
+ </h2>
130
+
131
+ <ul class="summary">
132
+
133
+ <li class="public ">
134
+ <span class="summary_signature">
135
+
136
+ <a href="#root_dir-class_method" title="root_dir (class method)">+ (Object) <strong>root_dir</strong> </a>
137
+
138
+
139
+
140
+ </span>
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+ <span class="summary_desc"><div class='inline'></div></span>
151
+
152
+ </li>
153
+
154
+
155
+ <li class="public ">
156
+ <span class="summary_signature">
157
+
158
+ <a href="#strings-class_method" title="strings (class method)">+ (Object) <strong>strings</strong>(key = nil) </a>
159
+
160
+
161
+
162
+ </span>
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+ <span class="summary_desc"><div class='inline'></div></span>
173
+
174
+ </li>
175
+
176
+
177
+ <li class="public ">
178
+ <span class="summary_signature">
179
+
180
+ <a href="#strings_file-class_method" title="strings_file (class method)">+ (Object) <strong>strings_file</strong> </a>
181
+
182
+
183
+
184
+ </span>
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+ <span class="summary_desc"><div class='inline'></div></span>
195
+
196
+ </li>
197
+
198
+
199
+ </ul>
200
+
201
+
202
+
203
+
204
+ <div id="class_method_details" class="method_details_list">
205
+ <h2>Class Method Details</h2>
206
+
207
+
208
+ <div class="method_details first">
209
+ <h3 class="signature first" id="root_dir-class_method">
210
+
211
+ + (<tt>Object</tt>) <strong>root_dir</strong>
212
+
213
+
214
+
215
+
216
+
217
+ </h3><table class="source_code">
218
+ <tr>
219
+ <td>
220
+ <pre class="lines">
221
+
222
+
223
+ 6
224
+ 7
225
+ 8</pre>
226
+ </td>
227
+ <td>
228
+ <pre class="code"><span class="info file"># File 'lib/blabla.rb', line 6</span>
229
+
230
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_root_dir'>root_dir</span>
231
+ <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/..</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
232
+ <span class='kw'>end</span></pre>
233
+ </td>
234
+ </tr>
235
+ </table>
236
+ </div>
237
+
238
+ <div class="method_details ">
239
+ <h3 class="signature " id="strings-class_method">
240
+
241
+ + (<tt>Object</tt>) <strong>strings</strong>(key = nil)
242
+
243
+
244
+
245
+
246
+
247
+ </h3><table class="source_code">
248
+ <tr>
249
+ <td>
250
+ <pre class="lines">
251
+
252
+
253
+ 14
254
+ 15
255
+ 16
256
+ 17</pre>
257
+ </td>
258
+ <td>
259
+ <pre class="code"><span class="info file"># File 'lib/blabla.rb', line 14</span>
260
+
261
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_strings'>strings</span> <span class='id identifier rubyid_key'>key</span><span class='op'>=</span><span class='kw'>nil</span>
262
+ <span class='cvar'>@@strings</span> <span class='op'>||=</span> <span class='const'>YAML</span><span class='period'>.</span><span class='id identifier rubyid_load_file'>load_file</span><span class='lparen'>(</span><span class='id identifier rubyid_strings_file'>strings_file</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>blabla</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
263
+ <span class='id identifier rubyid_parse_string_key'>parse_string_key</span> <span class='id identifier rubyid_key'>key</span>
264
+ <span class='kw'>end</span></pre>
265
+ </td>
266
+ </tr>
267
+ </table>
268
+ </div>
269
+
270
+ <div class="method_details ">
271
+ <h3 class="signature " id="strings_file-class_method">
272
+
273
+ + (<tt>Object</tt>) <strong>strings_file</strong>
274
+
275
+
276
+
277
+
278
+
279
+ </h3><table class="source_code">
280
+ <tr>
281
+ <td>
282
+ <pre class="lines">
283
+
284
+
285
+ 10
286
+ 11
287
+ 12</pre>
288
+ </td>
289
+ <td>
290
+ <pre class="code"><span class="info file"># File 'lib/blabla.rb', line 10</span>
291
+
292
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_strings_file'>strings_file</span>
293
+ <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='id identifier rubyid_root_dir'>root_dir</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>lib</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>strings</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>strings.yml</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
294
+ <span class='kw'>end</span></pre>
295
+ </td>
296
+ </tr>
297
+ </table>
298
+ </div>
299
+
300
+ </div>
301
+
302
+ </div>
303
+
304
+ <div id="footer">
305
+ Generated on Fri Apr 12 09:44:17 2013 by
306
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
307
+ 0.8.5.2 (ruby-1.9.3).
308
+ </div>
309
+
310
+ </body>
311
+ </html>
@@ -0,0 +1,303 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: BlaBla::Bacon
8
+
9
+ &mdash; Documentação da Gem BlaBla
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../';
20
+ framesUrl = "../frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../_index.html">Index (B)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../BlaBla.html" title="BlaBla (module)">BlaBla</a></span></span>
36
+ &raquo;
37
+ <span class="title">Bacon</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: BlaBla::Bacon
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="Texto/Base.html" title="BlaBla::Texto::Base (class)">Texto::Base</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next"><span class='object_link'><a href="Texto/Base.html" title="BlaBla::Texto::Base (class)">Texto::Base</a></span></li>
82
+
83
+ <li class="next">BlaBla::Bacon</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/generators/texto/bacon.rb</dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <h2>
113
+ Class Method Summary
114
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
115
+ </h2>
116
+
117
+ <ul class="summary">
118
+
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#generator_name-class_method" title="generator_name (class method)">+ (Object) <strong>generator_name</strong> </a>
123
+
124
+
125
+
126
+ </span>
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+ <span class="summary_desc"><div class='inline'></div></span>
137
+
138
+ </li>
139
+
140
+
141
+ <li class="public ">
142
+ <span class="summary_signature">
143
+
144
+ <a href="#peso_por_tamanho_palavra-class_method" title="peso_por_tamanho_palavra (class method)">+ (Object) <strong>peso_por_tamanho_palavra</strong> </a>
145
+
146
+
147
+
148
+ </span>
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+ <span class="summary_desc"><div class='inline'><p>Definições de peso no sorteio de palavras do gerador.</p>
159
+ </div></span>
160
+
161
+ </li>
162
+
163
+
164
+ </ul>
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Texto/Base.html" title="BlaBla::Texto::Base (class)">Texto::Base</a></span></h3>
177
+ <p class="inherited"><span class='object_link'><a href="Texto/Base.html#comeco_padrao-class_method" title="BlaBla::Texto::Base.comeco_padrao (method)">comeco_padrao</a></span>, <span class='object_link'><a href="Texto/Base.html#frase-class_method" title="BlaBla::Texto::Base.frase (method)">frase</a></span>, <span class='object_link'><a href="Texto/Base.html#frases-class_method" title="BlaBla::Texto::Base.frases (method)">frases</a></span>, <span class='object_link'><a href="Texto/Base.html#palavra-class_method" title="BlaBla::Texto::Base.palavra (method)">palavra</a></span>, <span class='object_link'><a href="Texto/Base.html#palavras-class_method" title="BlaBla::Texto::Base.palavras (method)">palavras</a></span>, <span class='object_link'><a href="Texto/Base.html#palavras_gerador-class_method" title="BlaBla::Texto::Base.palavras_gerador (method)">palavras_gerador</a></span>, <span class='object_link'><a href="Texto/Base.html#paragrafo-class_method" title="BlaBla::Texto::Base.paragrafo (method)">paragrafo</a></span>, <span class='object_link'><a href="Texto/Base.html#paragrafos-class_method" title="BlaBla::Texto::Base.paragrafos (method)">paragrafos</a></span></p>
178
+
179
+
180
+ <div id="class_method_details" class="method_details_list">
181
+ <h2>Class Method Details</h2>
182
+
183
+
184
+ <div class="method_details first">
185
+ <h3 class="signature first" id="generator_name-class_method">
186
+
187
+ + (<tt>Object</tt>) <strong>generator_name</strong>
188
+
189
+
190
+
191
+
192
+
193
+ </h3><table class="source_code">
194
+ <tr>
195
+ <td>
196
+ <pre class="lines">
197
+
198
+
199
+ 31
200
+ 32
201
+ 33</pre>
202
+ </td>
203
+ <td>
204
+ <pre class="code"><span class="info file"># File 'lib/generators/texto/bacon.rb', line 31</span>
205
+
206
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_generator_name'>generator_name</span>
207
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bacon</span><span class='tstring_end'>&quot;</span></span>
208
+ <span class='kw'>end</span></pre>
209
+ </td>
210
+ </tr>
211
+ </table>
212
+ </div>
213
+
214
+ <div class="method_details ">
215
+ <h3 class="signature " id="peso_por_tamanho_palavra-class_method">
216
+
217
+ + (<tt>Object</tt>) <strong>peso_por_tamanho_palavra</strong>
218
+
219
+
220
+
221
+
222
+
223
+ </h3><div class="docstring">
224
+ <div class="discussion">
225
+ <p>Definições de peso no sorteio de palavras do gerador.
226
+ Para textos com aparência mais natural, ranges de tamanhos menores devem
227
+ possuir maior chance de serem sorteados, portanto, como exemplo,
228
+ pode-se atribuir ao range de 1..6 uma probabilidade de 80%, ou seja,
229
+ palavras de 1 a 6 letras tem 80% de chance de serem sorteadas.</p>
230
+
231
+
232
+ </div>
233
+ </div>
234
+ <div class="tags">
235
+
236
+
237
+ </div><table class="source_code">
238
+ <tr>
239
+ <td>
240
+ <pre class="lines">
241
+
242
+
243
+ 10
244
+ 11
245
+ 12
246
+ 13
247
+ 14
248
+ 15
249
+ 16
250
+ 17
251
+ 18
252
+ 19
253
+ 20
254
+ 21
255
+ 22
256
+ 23
257
+ 24
258
+ 25
259
+ 26
260
+ 27
261
+ 28
262
+ 29</pre>
263
+ </td>
264
+ <td>
265
+ <pre class="code"><span class="info file"># File 'lib/generators/texto/bacon.rb', line 10</span>
266
+
267
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_peso_por_tamanho_palavra'>peso_por_tamanho_palavra</span>
268
+ <span class='lbracket'>[</span>
269
+ <span class='lbrace'>{</span>
270
+ <span class='symbol'>:probabilidade</span> <span class='op'>=&gt;</span> <span class='int'>80</span><span class='comma'>,</span>
271
+ <span class='symbol'>:valor</span> <span class='op'>=&gt;</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>6</span>
272
+ <span class='rbrace'>}</span><span class='comma'>,</span>
273
+ <span class='lbrace'>{</span>
274
+ <span class='symbol'>:probabilidade</span> <span class='op'>=&gt;</span> <span class='int'>12</span><span class='comma'>,</span>
275
+ <span class='symbol'>:valor</span> <span class='op'>=&gt;</span> <span class='int'>7</span><span class='op'>..</span><span class='int'>9</span>
276
+ <span class='rbrace'>}</span><span class='comma'>,</span>
277
+ <span class='lbrace'>{</span>
278
+ <span class='symbol'>:probabilidade</span> <span class='op'>=&gt;</span> <span class='int'>6</span><span class='comma'>,</span>
279
+ <span class='symbol'>:valor</span> <span class='op'>=&gt;</span> <span class='int'>10</span><span class='op'>..</span><span class='int'>13</span>
280
+ <span class='rbrace'>}</span><span class='comma'>,</span>
281
+ <span class='lbrace'>{</span>
282
+ <span class='symbol'>:probabilidade</span> <span class='op'>=&gt;</span> <span class='int'>2</span><span class='comma'>,</span>
283
+ <span class='symbol'>:valor</span> <span class='op'>=&gt;</span> <span class='int'>14</span><span class='op'>..</span><span class='int'>20</span>
284
+ <span class='rbrace'>}</span>
285
+ <span class='rbracket'>]</span>
286
+ <span class='kw'>end</span></pre>
287
+ </td>
288
+ </tr>
289
+ </table>
290
+ </div>
291
+
292
+ </div>
293
+
294
+ </div>
295
+
296
+ <div id="footer">
297
+ Generated on Fri Apr 12 09:44:17 2013 by
298
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
299
+ 0.8.5.2 (ruby-1.9.3).
300
+ </div>
301
+
302
+ </body>
303
+ </html>