brauser 3.2.6 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +29 -0
  4. data/.travis-gemfile +1 -1
  5. data/.travis.yml +2 -1
  6. data/Gemfile +3 -3
  7. data/README.md +6 -6
  8. data/brauser.gemspec +1 -1
  9. data/doc/Brauser.html +7 -7
  10. data/doc/Brauser/Browseable.html +127 -0
  11. data/doc/Brauser/{BrowserMethods → Browseable}/Attributes.html +34 -30
  12. data/doc/Brauser/Browseable/DefaultDefinitions.html +387 -0
  13. data/doc/Brauser/{BrowserMethods → Browseable}/General.html +9 -9
  14. data/doc/Brauser/{BrowserMethods → Browseable}/General/ClassMethods.html +33 -33
  15. data/doc/Brauser/{BrowserMethods → Browseable}/Parsing.html +23 -23
  16. data/doc/Brauser/{BrowserMethods → Browseable}/PartialQuerying.html +59 -53
  17. data/doc/Brauser/{BrowserMethods → Browseable}/Querying.html +43 -37
  18. data/doc/Brauser/{BrowserMethods → Browseable}/Register.html +9 -9
  19. data/doc/Brauser/Browseable/Register/ClassMethods.html +516 -0
  20. data/doc/Brauser/Browser.html +787 -1362
  21. data/doc/Brauser/Definition.html +230 -40
  22. data/doc/Brauser/Hooks.html +4 -4
  23. data/doc/Brauser/Hooks/RubyOnRails.html +4 -4
  24. data/doc/Brauser/Query.html +53 -53
  25. data/doc/Brauser/{BrowserMethods.html → Queryable.html} +13 -11
  26. data/doc/Brauser/{Chainers.html → Queryable/Chainers.html} +51 -45
  27. data/doc/Brauser/{Queries.html → Queryable/Queries.html} +47 -41
  28. data/doc/Brauser/Version.html +6 -6
  29. data/doc/_index.html +41 -27
  30. data/doc/class_list.html +1 -1
  31. data/doc/css/style.css +1 -0
  32. data/doc/file.README.html +10 -10
  33. data/doc/frames.html +1 -1
  34. data/doc/index.html +10 -10
  35. data/doc/method_list.html +68 -74
  36. data/doc/top-level-namespace.html +4 -4
  37. data/lib/brauser.rb +14 -3
  38. data/lib/brauser/browseable/attributes.rb +95 -0
  39. data/lib/brauser/browseable/general.rb +104 -0
  40. data/lib/brauser/browseable/parsing.rb +127 -0
  41. data/lib/brauser/browseable/partial_querying.rb +116 -0
  42. data/lib/brauser/browseable/querying.rb +63 -0
  43. data/lib/brauser/browseable/register.rb +73 -0
  44. data/lib/brauser/browser.rb +34 -741
  45. data/lib/brauser/definition.rb +30 -5
  46. data/lib/brauser/definitions/browsers.rb +66 -0
  47. data/lib/brauser/definitions/languages.rb +130 -0
  48. data/lib/brauser/definitions/platforms.rb +30 -0
  49. data/lib/brauser/query.rb +4 -99
  50. data/lib/brauser/queryable/chainers.rb +56 -0
  51. data/lib/brauser/queryable/queries.rb +60 -0
  52. data/lib/brauser/version.rb +3 -2
  53. data/spec/brauser/browser_spec.rb +26 -29
  54. data/spec/brauser/query_spec.rb +15 -13
  55. metadata +30 -17
  56. data/.bundle/install.log +0 -106
  57. data/doc/Brauser/BrowserMethods/Register/ClassMethods.html +0 -770
@@ -4,9 +4,9 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Module: Brauser::BrowserMethods
7
+ Module: Brauser::Queryable
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7.4
10
10
 
11
11
  </title>
12
12
 
@@ -17,7 +17,7 @@
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
19
19
  relpath = '../';
20
- framesUrl = "../frames.html#!" + escape(window.location.href);
20
+ framesUrl = "../frames.html#!Brauser/Queryable.html";
21
21
  </script>
22
22
 
23
23
 
@@ -31,10 +31,10 @@
31
31
  <div id="header">
32
32
  <div id="menu">
33
33
 
34
- <a href="../_index.html">Index (B)</a> &raquo;
34
+ <a href="../_index.html">Index (Q)</a> &raquo;
35
35
  <span class='title'><span class='object_link'><a href="../Brauser.html" title="Brauser (module)">Brauser</a></span></span>
36
36
  &raquo;
37
- <span class="title">BrowserMethods</span>
37
+ <span class="title">Queryable</span>
38
38
 
39
39
 
40
40
  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
@@ -63,7 +63,7 @@
63
63
 
64
64
  <iframe id="search_frame"></iframe>
65
65
 
66
- <div id="content"><h1>Module: Brauser::BrowserMethods
66
+ <div id="content"><h1>Module: Brauser::Queryable
67
67
 
68
68
 
69
69
 
@@ -79,14 +79,16 @@
79
79
 
80
80
 
81
81
  <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/brauser/browser.rb</dd>
82
+ <dd class="r1 last">lib/brauser/queryable/queries.rb<span class="defines">,<br />
83
+ lib/brauser/queryable/chainers.rb</span>
84
+ </dd>
83
85
 
84
86
  </dl>
85
87
  <div class="clear"></div>
86
88
 
87
89
  <h2>Overview</h2><div class="docstring">
88
90
  <div class="discussion">
89
- <p>Methods of the <span class='object_link'><a href="Browser.html" title="Brauser::Browser (class)">Browser</a></span> class.</p>
91
+ <p>The interface of brauser queries.</p>
90
92
 
91
93
 
92
94
  </div>
@@ -98,7 +100,7 @@
98
100
  <p class="children">
99
101
 
100
102
 
101
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="BrowserMethods/Attributes.html" title="Brauser::BrowserMethods::Attributes (module)">Attributes</a></span>, <span class='object_link'><a href="BrowserMethods/General.html" title="Brauser::BrowserMethods::General (module)">General</a></span>, <span class='object_link'><a href="BrowserMethods/Parsing.html" title="Brauser::BrowserMethods::Parsing (module)">Parsing</a></span>, <span class='object_link'><a href="BrowserMethods/PartialQuerying.html" title="Brauser::BrowserMethods::PartialQuerying (module)">PartialQuerying</a></span>, <span class='object_link'><a href="BrowserMethods/Querying.html" title="Brauser::BrowserMethods::Querying (module)">Querying</a></span>, <span class='object_link'><a href="BrowserMethods/Register.html" title="Brauser::BrowserMethods::Register (module)">Register</a></span>
103
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="Queryable/Chainers.html" title="Brauser::Queryable::Chainers (module)">Chainers</a></span>, <span class='object_link'><a href="Queryable/Queries.html" title="Brauser::Queryable::Queries (module)">Queries</a></span>
102
104
 
103
105
 
104
106
 
@@ -116,9 +118,9 @@
116
118
  </div>
117
119
 
118
120
  <div id="footer">
119
- Generated on Sun Feb 16 13:57:05 2014 by
121
+ Generated on Sat May 10 13:59:11 2014 by
120
122
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
- 0.8.7.3 (ruby-2.1.0).
123
+ 0.8.7.4 (ruby-2.1.0).
122
124
  </div>
123
125
 
124
126
  </body>
@@ -4,26 +4,26 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Module: Brauser::Chainers
7
+ Module: Brauser::Queryable::Chainers
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7.4
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../';
20
- framesUrl = "../frames.html#!" + escape(window.location.href);
19
+ relpath = '../../';
20
+ framesUrl = "../../frames.html#!Brauser/Queryable/Chainers.html";
21
21
  </script>
22
22
 
23
23
 
24
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
25
 
26
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
27
 
28
28
 
29
29
  </head>
@@ -31,8 +31,8 @@
31
31
  <div id="header">
32
32
  <div id="menu">
33
33
 
34
- <a href="../_index.html">Index (C)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Brauser.html" title="Brauser (module)">Brauser</a></span></span>
34
+ <a href="../../_index.html">Index (C)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../Brauser.html" title="Brauser (module)">Brauser</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Queryable.html" title="Brauser::Queryable (module)">Queryable</a></span></span>
36
36
  &raquo;
37
37
  <span class="title">Chainers</span>
38
38
 
@@ -43,17 +43,17 @@
43
43
  <div id="search">
44
44
 
45
45
  <a class="full_list_link" id="class_list_link"
46
- href="../class_list.html">
46
+ href="../../class_list.html">
47
47
  Class List
48
48
  </a>
49
49
 
50
50
  <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
51
+ href="../../method_list.html">
52
52
  Method List
53
53
  </a>
54
54
 
55
55
  <a class="full_list_link" id="file_list_link"
56
- href="../file_list.html">
56
+ href="../../file_list.html">
57
57
  File List
58
58
  </a>
59
59
 
@@ -63,7 +63,7 @@
63
63
 
64
64
  <iframe id="search_frame"></iframe>
65
65
 
66
- <div id="content"><h1>Module: Brauser::Chainers
66
+ <div id="content"><h1>Module: Brauser::Queryable::Chainers
67
67
 
68
68
 
69
69
 
@@ -78,12 +78,12 @@
78
78
 
79
79
 
80
80
  <dt class="r1">Included in:</dt>
81
- <dd class="r1"><span class='object_link'><a href="Query.html" title="Brauser::Query (class)">Query</a></span></dd>
81
+ <dd class="r1"><span class='object_link'><a href="../Query.html" title="Brauser::Query (class)">Brauser::Query</a></span></dd>
82
82
 
83
83
 
84
84
 
85
85
  <dt class="r2 last">Defined in:</dt>
86
- <dd class="r2 last">lib/brauser/query.rb</dd>
86
+ <dd class="r2 last">lib/brauser/queryable/chainers.rb</dd>
87
87
 
88
88
  </dl>
89
89
  <div class="clear"></div>
@@ -185,10 +185,12 @@
185
185
  <li class="public ">
186
186
  <span class="summary_signature">
187
187
 
188
- <a href="#v-instance_method" title="#v (instance method)">- (Query) <strong>v</strong>(versions = {}) </a>
188
+ <a href="#version-instance_method" title="#version (instance method)">- (Query) <strong>version</strong>(versions = {}) </a>
189
189
 
190
190
 
191
191
 
192
+ (also: #v)
193
+
192
194
  </span>
193
195
 
194
196
 
@@ -217,7 +219,7 @@
217
219
  <div class="method_details first">
218
220
  <h3 class="signature first" id="accepts-instance_method">
219
221
 
220
- - (<tt><span class='object_link'><a href="Query.html" title="Brauser::Query (class)">Query</a></span></tt>) <strong>accepts</strong>(langs = [])
222
+ - (<tt><span class='object_link'><a href="../Query.html" title="Brauser::Query (class)">Query</a></span></tt>) <strong>accepts</strong>(langs = [])
221
223
 
222
224
 
223
225
 
@@ -259,7 +261,7 @@
259
261
  <li>
260
262
 
261
263
 
262
- <span class='type'>(<tt><span class='object_link'><a href="Query.html" title="Brauser::Query (class)">Query</a></span></tt>)</span>
264
+ <span class='type'>(<tt><span class='object_link'><a href="../Query.html" title="Brauser::Query (class)">Query</a></span></tt>)</span>
263
265
 
264
266
 
265
267
 
@@ -277,13 +279,13 @@
277
279
  <pre class="lines">
278
280
 
279
281
 
280
- 48
281
- 49
282
282
  50
283
- 51</pre>
283
+ 51
284
+ 52
285
+ 53</pre>
284
286
  </td>
285
287
  <td>
286
- <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 48</span>
288
+ <pre class="code"><span class="info file"># File 'lib/brauser/queryable/chainers.rb', line 50</span>
287
289
 
288
290
  <span class='kw'>def</span> <span class='id identifier rubyid_accepts'>accepts</span><span class='lparen'>(</span><span class='id identifier rubyid_langs'>langs</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
289
291
  <span class='ivar'>@result</span> <span class='op'>=</span> <span class='id identifier rubyid_accepts?'>accepts?</span><span class='lparen'>(</span><span class='id identifier rubyid_langs'>langs</span><span class='rparen'>)</span>
@@ -297,7 +299,7 @@
297
299
  <div class="method_details ">
298
300
  <h3 class="signature " id="is-instance_method">
299
301
 
300
- - (<tt><span class='object_link'><a href="Query.html" title="Brauser::Query (class)">Query</a></span></tt>) <strong>is</strong>(names = [], versions = {}, platforms = [])
302
+ - (<tt><span class='object_link'><a href="../Query.html" title="Brauser::Query (class)">Query</a></span></tt>) <strong>is</strong>(names = [], versions = {}, platforms = [])
301
303
 
302
304
 
303
305
 
@@ -343,7 +345,7 @@
343
345
 
344
346
 
345
347
  &mdash;
346
- <div class='inline'><p>An hash with specific version to match against. Need to be in any form that <span class='object_link'><a href="#v-instance_method" title="Brauser::Chainers#v (method)">#v</a></span> understands.</p>
348
+ <div class='inline'><p>An hash with specific version to match against. Need to be in any form that <span class='object_link'><a href="#v-instance_method" title="Brauser::Queryable::Chainers#v (method)">#v</a></span> understands.</p>
347
349
  </div>
348
350
 
349
351
  </li>
@@ -373,7 +375,7 @@
373
375
  <li>
374
376
 
375
377
 
376
- <span class='type'>(<tt><span class='object_link'><a href="Query.html" title="Brauser::Query (class)">Query</a></span></tt>)</span>
378
+ <span class='type'>(<tt><span class='object_link'><a href="../Query.html" title="Brauser::Query (class)">Query</a></span></tt>)</span>
377
379
 
378
380
 
379
381
 
@@ -400,13 +402,13 @@
400
402
  <pre class="lines">
401
403
 
402
404
 
403
- 20
404
405
  21
405
406
  22
406
- 23</pre>
407
+ 23
408
+ 24</pre>
407
409
  </td>
408
410
  <td>
409
- <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 20</span>
411
+ <pre class="code"><span class="info file"># File 'lib/brauser/queryable/chainers.rb', line 21</span>
410
412
 
411
413
  <span class='kw'>def</span> <span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='id identifier rubyid_names'>names</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_versions'>versions</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_platforms'>platforms</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
412
414
  <span class='ivar'>@result</span> <span class='op'>=</span> <span class='id identifier rubyid_is?'>is?</span><span class='lparen'>(</span><span class='id identifier rubyid_names'>names</span><span class='comma'>,</span> <span class='id identifier rubyid_versions'>versions</span><span class='comma'>,</span> <span class='id identifier rubyid_platforms'>platforms</span><span class='rparen'>)</span>
@@ -420,7 +422,7 @@
420
422
  <div class="method_details ">
421
423
  <h3 class="signature " id="on-instance_method">
422
424
 
423
- - (<tt><span class='object_link'><a href="Query.html" title="Brauser::Query (class)">Query</a></span></tt>) <strong>on</strong>(platforms = [])
425
+ - (<tt><span class='object_link'><a href="../Query.html" title="Brauser::Query (class)">Query</a></span></tt>) <strong>on</strong>(platforms = [])
424
426
 
425
427
 
426
428
 
@@ -462,7 +464,7 @@
462
464
  <li>
463
465
 
464
466
 
465
- <span class='type'>(<tt><span class='object_link'><a href="Query.html" title="Brauser::Query (class)">Query</a></span></tt>)</span>
467
+ <span class='type'>(<tt><span class='object_link'><a href="../Query.html" title="Brauser::Query (class)">Query</a></span></tt>)</span>
466
468
 
467
469
 
468
470
 
@@ -480,13 +482,13 @@
480
482
  <pre class="lines">
481
483
 
482
484
 
483
- 39
484
- 40
485
485
  41
486
- 42</pre>
486
+ 42
487
+ 43
488
+ 44</pre>
487
489
  </td>
488
490
  <td>
489
- <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 39</span>
491
+ <pre class="code"><span class="info file"># File 'lib/brauser/queryable/chainers.rb', line 41</span>
490
492
 
491
493
  <span class='kw'>def</span> <span class='id identifier rubyid_on'>on</span><span class='lparen'>(</span><span class='id identifier rubyid_platforms'>platforms</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
492
494
  <span class='ivar'>@result</span> <span class='op'>=</span> <span class='id identifier rubyid_on?'>on?</span><span class='lparen'>(</span><span class='id identifier rubyid_platforms'>platforms</span><span class='rparen'>)</span>
@@ -498,12 +500,16 @@
498
500
  </div>
499
501
 
500
502
  <div class="method_details ">
501
- <h3 class="signature " id="v-instance_method">
503
+ <h3 class="signature " id="version-instance_method">
502
504
 
503
- - (<tt><span class='object_link'><a href="Query.html" title="Brauser::Query (class)">Query</a></span></tt>) <strong>v</strong>(versions = {})
505
+ - (<tt><span class='object_link'><a href="../Query.html" title="Brauser::Query (class)">Query</a></span></tt>) <strong>version</strong>(versions = {})
504
506
 
505
507
 
506
508
 
509
+ <span class="aliases">Also known as:
510
+ <span class="names"><span id='v-instance_method'>v</span></span>
511
+ </span>
512
+
507
513
 
508
514
 
509
515
  </h3><div class="docstring">
@@ -543,7 +549,7 @@ in form <code>{:operator =&gt; version}</code>, where operator is one of <code>:
543
549
  <li>
544
550
 
545
551
 
546
- <span class='type'>(<tt><span class='object_link'><a href="Query.html" title="Brauser::Query (class)">Query</a></span></tt>)</span>
552
+ <span class='type'>(<tt><span class='object_link'><a href="../Query.html" title="Brauser::Query (class)">Query</a></span></tt>)</span>
547
553
 
548
554
 
549
555
 
@@ -561,16 +567,16 @@ in form <code>{:operator =&gt; version}</code>, where operator is one of <code>:
561
567
  <pre class="lines">
562
568
 
563
569
 
564
- 30
565
570
  31
566
571
  32
567
- 33</pre>
572
+ 33
573
+ 34</pre>
568
574
  </td>
569
575
  <td>
570
- <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 30</span>
576
+ <pre class="code"><span class="info file"># File 'lib/brauser/queryable/chainers.rb', line 31</span>
571
577
 
572
- <span class='kw'>def</span> <span class='id identifier rubyid_v'>v</span><span class='lparen'>(</span><span class='id identifier rubyid_versions'>versions</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
573
- <span class='ivar'>@result</span> <span class='op'>=</span> <span class='id identifier rubyid_v?'>v?</span><span class='lparen'>(</span><span class='id identifier rubyid_versions'>versions</span><span class='rparen'>)</span>
578
+ <span class='kw'>def</span> <span class='id identifier rubyid_version'>version</span><span class='lparen'>(</span><span class='id identifier rubyid_versions'>versions</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
579
+ <span class='ivar'>@result</span> <span class='op'>=</span> <span class='id identifier rubyid_version?'>version?</span><span class='lparen'>(</span><span class='id identifier rubyid_versions'>versions</span><span class='rparen'>)</span>
574
580
  <span class='kw'>self</span>
575
581
  <span class='kw'>end</span></pre>
576
582
  </td>
@@ -583,9 +589,9 @@ in form <code>{:operator =&gt; version}</code>, where operator is one of <code>:
583
589
  </div>
584
590
 
585
591
  <div id="footer">
586
- Generated on Sun Feb 16 13:57:05 2014 by
592
+ Generated on Sat May 10 13:59:11 2014 by
587
593
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
588
- 0.8.7.3 (ruby-2.1.0).
594
+ 0.8.7.4 (ruby-2.1.0).
589
595
  </div>
590
596
 
591
597
  </body>
@@ -4,26 +4,26 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Module: Brauser::Queries
7
+ Module: Brauser::Queryable::Queries
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7.4
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../';
20
- framesUrl = "../frames.html#!" + escape(window.location.href);
19
+ relpath = '../../';
20
+ framesUrl = "../../frames.html#!Brauser/Queryable/Queries.html";
21
21
  </script>
22
22
 
23
23
 
24
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
25
 
26
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
27
 
28
28
 
29
29
  </head>
@@ -31,8 +31,8 @@
31
31
  <div id="header">
32
32
  <div id="menu">
33
33
 
34
- <a href="../_index.html">Index (Q)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Brauser.html" title="Brauser (module)">Brauser</a></span></span>
34
+ <a href="../../_index.html">Index (Q)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../Brauser.html" title="Brauser (module)">Brauser</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Queryable.html" title="Brauser::Queryable (module)">Queryable</a></span></span>
36
36
  &raquo;
37
37
  <span class="title">Queries</span>
38
38
 
@@ -43,17 +43,17 @@
43
43
  <div id="search">
44
44
 
45
45
  <a class="full_list_link" id="class_list_link"
46
- href="../class_list.html">
46
+ href="../../class_list.html">
47
47
  Class List
48
48
  </a>
49
49
 
50
50
  <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
51
+ href="../../method_list.html">
52
52
  Method List
53
53
  </a>
54
54
 
55
55
  <a class="full_list_link" id="file_list_link"
56
- href="../file_list.html">
56
+ href="../../file_list.html">
57
57
  File List
58
58
  </a>
59
59
 
@@ -63,7 +63,7 @@
63
63
 
64
64
  <iframe id="search_frame"></iframe>
65
65
 
66
- <div id="content"><h1>Module: Brauser::Queries
66
+ <div id="content"><h1>Module: Brauser::Queryable::Queries
67
67
 
68
68
 
69
69
 
@@ -78,12 +78,12 @@
78
78
 
79
79
 
80
80
  <dt class="r1">Included in:</dt>
81
- <dd class="r1"><span class='object_link'><a href="Query.html" title="Brauser::Query (class)">Query</a></span></dd>
81
+ <dd class="r1"><span class='object_link'><a href="../Query.html" title="Brauser::Query (class)">Brauser::Query</a></span></dd>
82
82
 
83
83
 
84
84
 
85
85
  <dt class="r2 last">Defined in:</dt>
86
- <dd class="r2 last">lib/brauser/query.rb</dd>
86
+ <dd class="r2 last">lib/brauser/queryable/queries.rb</dd>
87
87
 
88
88
  </dl>
89
89
  <div class="clear"></div>
@@ -185,10 +185,12 @@
185
185
  <li class="public ">
186
186
  <span class="summary_signature">
187
187
 
188
- <a href="#v%3F-instance_method" title="#v? (instance method)">- (Boolean) <strong>v?</strong>(versions = {}) </a>
188
+ <a href="#version%3F-instance_method" title="#version? (instance method)">- (Boolean) <strong>version?</strong>(versions = {}) </a>
189
189
 
190
190
 
191
191
 
192
+ (also: #v?)
193
+
192
194
  </span>
193
195
 
194
196
 
@@ -279,12 +281,12 @@
279
281
  <pre class="lines">
280
282
 
281
283
 
282
- 98
283
- 99
284
- 100</pre>
284
+ 55
285
+ 56
286
+ 57</pre>
285
287
  </td>
286
288
  <td>
287
- <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 98</span>
289
+ <pre class="code"><span class="info file"># File 'lib/brauser/queryable/queries.rb', line 55</span>
288
290
 
289
291
  <span class='kw'>def</span> <span class='id identifier rubyid_accepts?'>accepts?</span><span class='lparen'>(</span><span class='id identifier rubyid_langs'>langs</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
290
292
  <span class='ivar'>@result</span> <span class='op'>?</span> <span class='ivar'>@target</span><span class='period'>.</span><span class='id identifier rubyid_accepts?'>accepts?</span><span class='lparen'>(</span><span class='id identifier rubyid_langs'>langs</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='ivar'>@result</span>
@@ -390,9 +392,9 @@
390
392
  <p class="tag_title">See Also:</p>
391
393
  <ul class="see">
392
394
 
393
- <li><span class='object_link'><a href="#v%3F-instance_method" title="Brauser::Queries#v? (method)">#v?</a></span></li>
395
+ <li><span class='object_link'><a href="#v%3F-instance_method" title="Brauser::Queryable::Queries#v? (method)">#v?</a></span></li>
394
396
 
395
- <li><span class='object_link'><a href="#on%3F-instance_method" title="Brauser::Queries#on? (method)">#on?</a></span></li>
397
+ <li><span class='object_link'><a href="#on%3F-instance_method" title="Brauser::Queryable::Queries#on? (method)">#on?</a></span></li>
396
398
 
397
399
  </ul>
398
400
 
@@ -402,12 +404,12 @@
402
404
  <pre class="lines">
403
405
 
404
406
 
405
- 67
406
- 68
407
- 69</pre>
407
+ 23
408
+ 24
409
+ 25</pre>
408
410
  </td>
409
411
  <td>
410
- <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 67</span>
412
+ <pre class="code"><span class="info file"># File 'lib/brauser/queryable/queries.rb', line 23</span>
411
413
 
412
414
  <span class='kw'>def</span> <span class='id identifier rubyid_is?'>is?</span><span class='lparen'>(</span><span class='id identifier rubyid_names'>names</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_versions'>versions</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_platforms'>platforms</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
413
415
  <span class='ivar'>@result</span> <span class='op'>?</span> <span class='ivar'>@target</span><span class='period'>.</span><span class='id identifier rubyid_is?'>is?</span><span class='lparen'>(</span><span class='id identifier rubyid_names'>names</span><span class='comma'>,</span> <span class='id identifier rubyid_versions'>versions</span><span class='comma'>,</span> <span class='id identifier rubyid_platforms'>platforms</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='ivar'>@result</span>
@@ -482,12 +484,12 @@
482
484
  <pre class="lines">
483
485
 
484
486
 
485
- 88
486
- 89
487
- 90</pre>
487
+ 45
488
+ 46
489
+ 47</pre>
488
490
  </td>
489
491
  <td>
490
- <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 88</span>
492
+ <pre class="code"><span class="info file"># File 'lib/brauser/queryable/queries.rb', line 45</span>
491
493
 
492
494
  <span class='kw'>def</span> <span class='id identifier rubyid_on?'>on?</span><span class='lparen'>(</span><span class='id identifier rubyid_platforms'>platforms</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
493
495
  <span class='ivar'>@result</span> <span class='op'>?</span> <span class='ivar'>@target</span><span class='period'>.</span><span class='id identifier rubyid_on?'>on?</span><span class='lparen'>(</span><span class='id identifier rubyid_platforms'>platforms</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='ivar'>@result</span>
@@ -498,12 +500,16 @@
498
500
  </div>
499
501
 
500
502
  <div class="method_details ">
501
- <h3 class="signature " id="v?-instance_method">
503
+ <h3 class="signature " id="version?-instance_method">
502
504
 
503
- - (<tt>Boolean</tt>) <strong>v?</strong>(versions = {})
505
+ - (<tt>Boolean</tt>) <strong>version?</strong>(versions = {})
504
506
 
505
507
 
506
508
 
509
+ <span class="aliases">Also known as:
510
+ <span class="names"><span id='v?-instance_method'>v?</span></span>
511
+ </span>
512
+
507
513
 
508
514
 
509
515
  </h3><div class="docstring">
@@ -563,15 +569,15 @@ in form <code>{:operator =&gt; version}</code>, where operator is one of <code>:
563
569
  <pre class="lines">
564
570
 
565
571
 
566
- 78
567
- 79
568
- 80</pre>
572
+ 34
573
+ 35
574
+ 36</pre>
569
575
  </td>
570
576
  <td>
571
- <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 78</span>
577
+ <pre class="code"><span class="info file"># File 'lib/brauser/queryable/queries.rb', line 34</span>
572
578
 
573
- <span class='kw'>def</span> <span class='id identifier rubyid_v?'>v?</span><span class='lparen'>(</span><span class='id identifier rubyid_versions'>versions</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
574
- <span class='ivar'>@result</span> <span class='op'>?</span> <span class='ivar'>@target</span><span class='period'>.</span><span class='id identifier rubyid_v?'>v?</span><span class='lparen'>(</span><span class='id identifier rubyid_versions'>versions</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='ivar'>@result</span>
579
+ <span class='kw'>def</span> <span class='id identifier rubyid_version?'>version?</span><span class='lparen'>(</span><span class='id identifier rubyid_versions'>versions</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
580
+ <span class='ivar'>@result</span> <span class='op'>?</span> <span class='ivar'>@target</span><span class='period'>.</span><span class='id identifier rubyid_version?'>version?</span><span class='lparen'>(</span><span class='id identifier rubyid_versions'>versions</span><span class='rparen'>)</span> <span class='op'>:</span> <span class='ivar'>@result</span>
575
581
  <span class='kw'>end</span></pre>
576
582
  </td>
577
583
  </tr>
@@ -583,9 +589,9 @@ in form <code>{:operator =&gt; version}</code>, where operator is one of <code>:
583
589
  </div>
584
590
 
585
591
  <div id="footer">
586
- Generated on Sun Feb 16 13:57:05 2014 by
592
+ Generated on Sat May 10 13:59:11 2014 by
587
593
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
588
- 0.8.7.3 (ruby-2.1.0).
594
+ 0.8.7.4 (ruby-2.1.0).
589
595
  </div>
590
596
 
591
597
  </body>