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.
- checksums.yaml +4 -4
 - data/.gitignore +1 -0
 - data/.rubocop.yml +29 -0
 - data/.travis-gemfile +1 -1
 - data/.travis.yml +2 -1
 - data/Gemfile +3 -3
 - data/README.md +6 -6
 - data/brauser.gemspec +1 -1
 - data/doc/Brauser.html +7 -7
 - data/doc/Brauser/Browseable.html +127 -0
 - data/doc/Brauser/{BrowserMethods → Browseable}/Attributes.html +34 -30
 - data/doc/Brauser/Browseable/DefaultDefinitions.html +387 -0
 - data/doc/Brauser/{BrowserMethods → Browseable}/General.html +9 -9
 - data/doc/Brauser/{BrowserMethods → Browseable}/General/ClassMethods.html +33 -33
 - data/doc/Brauser/{BrowserMethods → Browseable}/Parsing.html +23 -23
 - data/doc/Brauser/{BrowserMethods → Browseable}/PartialQuerying.html +59 -53
 - data/doc/Brauser/{BrowserMethods → Browseable}/Querying.html +43 -37
 - data/doc/Brauser/{BrowserMethods → Browseable}/Register.html +9 -9
 - data/doc/Brauser/Browseable/Register/ClassMethods.html +516 -0
 - data/doc/Brauser/Browser.html +787 -1362
 - data/doc/Brauser/Definition.html +230 -40
 - data/doc/Brauser/Hooks.html +4 -4
 - data/doc/Brauser/Hooks/RubyOnRails.html +4 -4
 - data/doc/Brauser/Query.html +53 -53
 - data/doc/Brauser/{BrowserMethods.html → Queryable.html} +13 -11
 - data/doc/Brauser/{Chainers.html → Queryable/Chainers.html} +51 -45
 - data/doc/Brauser/{Queries.html → Queryable/Queries.html} +47 -41
 - data/doc/Brauser/Version.html +6 -6
 - data/doc/_index.html +41 -27
 - data/doc/class_list.html +1 -1
 - data/doc/css/style.css +1 -0
 - data/doc/file.README.html +10 -10
 - data/doc/frames.html +1 -1
 - data/doc/index.html +10 -10
 - data/doc/method_list.html +68 -74
 - data/doc/top-level-namespace.html +4 -4
 - data/lib/brauser.rb +14 -3
 - data/lib/brauser/browseable/attributes.rb +95 -0
 - data/lib/brauser/browseable/general.rb +104 -0
 - data/lib/brauser/browseable/parsing.rb +127 -0
 - data/lib/brauser/browseable/partial_querying.rb +116 -0
 - data/lib/brauser/browseable/querying.rb +63 -0
 - data/lib/brauser/browseable/register.rb +73 -0
 - data/lib/brauser/browser.rb +34 -741
 - data/lib/brauser/definition.rb +30 -5
 - data/lib/brauser/definitions/browsers.rb +66 -0
 - data/lib/brauser/definitions/languages.rb +130 -0
 - data/lib/brauser/definitions/platforms.rb +30 -0
 - data/lib/brauser/query.rb +4 -99
 - data/lib/brauser/queryable/chainers.rb +56 -0
 - data/lib/brauser/queryable/queries.rb +60 -0
 - data/lib/brauser/version.rb +3 -2
 - data/spec/brauser/browser_spec.rb +26 -29
 - data/spec/brauser/query_spec.rb +15 -13
 - metadata +30 -17
 - data/.bundle/install.log +0 -106
 - data/doc/Brauser/BrowserMethods/Register/ClassMethods.html +0 -770
 
    
        data/doc/Brauser/Definition.html
    CHANGED
    
    | 
         @@ -6,7 +6,7 @@ 
     | 
|
| 
       6 
6 
     | 
    
         
             
            <title>
         
     | 
| 
       7 
7 
     | 
    
         
             
              Class: Brauser::Definition
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
                — Documentation by YARD 0.8.7. 
     | 
| 
      
 9 
     | 
    
         
            +
                — 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#!" 
     | 
| 
      
 20 
     | 
    
         
            +
              framesUrl = "../frames.html#!Brauser/Definition.html";
         
     | 
| 
       21 
21 
     | 
    
         
             
            </script>
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         | 
| 
         @@ -490,7 +490,32 @@ This class represents a detection of the current user browser.</p> 
     | 
|
| 
       490 
490 
     | 
    
         
             
            51
         
     | 
| 
       491 
491 
     | 
    
         
             
            52
         
     | 
| 
       492 
492 
     | 
    
         
             
            53
         
     | 
| 
       493 
     | 
    
         
            -
            54 
     | 
| 
      
 493 
     | 
    
         
            +
            54
         
     | 
| 
      
 494 
     | 
    
         
            +
            55
         
     | 
| 
      
 495 
     | 
    
         
            +
            56
         
     | 
| 
      
 496 
     | 
    
         
            +
            57
         
     | 
| 
      
 497 
     | 
    
         
            +
            58
         
     | 
| 
      
 498 
     | 
    
         
            +
            59
         
     | 
| 
      
 499 
     | 
    
         
            +
            60
         
     | 
| 
      
 500 
     | 
    
         
            +
            61
         
     | 
| 
      
 501 
     | 
    
         
            +
            62
         
     | 
| 
      
 502 
     | 
    
         
            +
            63
         
     | 
| 
      
 503 
     | 
    
         
            +
            64
         
     | 
| 
      
 504 
     | 
    
         
            +
            65
         
     | 
| 
      
 505 
     | 
    
         
            +
            66
         
     | 
| 
      
 506 
     | 
    
         
            +
            67
         
     | 
| 
      
 507 
     | 
    
         
            +
            68
         
     | 
| 
      
 508 
     | 
    
         
            +
            69
         
     | 
| 
      
 509 
     | 
    
         
            +
            70
         
     | 
| 
      
 510 
     | 
    
         
            +
            71
         
     | 
| 
      
 511 
     | 
    
         
            +
            72
         
     | 
| 
      
 512 
     | 
    
         
            +
            73
         
     | 
| 
      
 513 
     | 
    
         
            +
            74
         
     | 
| 
      
 514 
     | 
    
         
            +
            75
         
     | 
| 
      
 515 
     | 
    
         
            +
            76
         
     | 
| 
      
 516 
     | 
    
         
            +
            77
         
     | 
| 
      
 517 
     | 
    
         
            +
            78
         
     | 
| 
      
 518 
     | 
    
         
            +
            79</pre>
         
     | 
| 
       494 
519 
     | 
    
         
             
                </td>
         
     | 
| 
       495 
520 
     | 
    
         
             
                <td>
         
     | 
| 
       496 
521 
     | 
    
         
             
                  <pre class="code"><span class="info file"># File 'lib/brauser/definition.rb', line 19</span>
         
     | 
| 
         @@ -517,12 +542,37 @@ This class represents a detection of the current user browser.</p> 
     | 
|
| 
       517 
542 
     | 
    
         
             
            </span>  <span class='comment'># @param args [Array] Arguments to pass to the matcher. The first is the definition itself.
         
     | 
| 
       518 
543 
     | 
    
         
             
            </span>  <span class='comment'># @return [Object|NilClass] A match if matcher succeeded, `nil` otherwise.
         
     | 
| 
       519 
544 
     | 
    
         
             
            </span>  <span class='kw'>def</span> <span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       520 
     | 
    
         
            -
                <span class=' 
     | 
| 
       521 
     | 
    
         
            -
             
     | 
| 
      
 545 
     | 
    
         
            +
                <span class='kw'>begin</span>
         
     | 
| 
      
 546 
     | 
    
         
            +
                  <span class='id identifier rubyid_matcher'>matcher</span> <span class='op'>=</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span> <span class='op'>||</span> <span class='symbol'>:primary</span><span class='rparen'>)</span>
         
     | 
| 
      
 547 
     | 
    
         
            +
                <span class='kw'>rescue</span> <span class='const'>NoMethodError</span>
         
     | 
| 
      
 548 
     | 
    
         
            +
                  <span class='kw'>nil</span>
         
     | 
| 
      
 549 
     | 
    
         
            +
                <span class='kw'>end</span>
         
     | 
| 
      
 550 
     | 
    
         
            +
             
     | 
| 
      
 551 
     | 
    
         
            +
                <span class='id identifier rubyid_perform_match'>perform_match</span><span class='lparen'>(</span><span class='id identifier rubyid_matcher'>matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
      
 552 
     | 
    
         
            +
              <span class='kw'>end</span>
         
     | 
| 
      
 553 
     | 
    
         
            +
             
     | 
| 
      
 554 
     | 
    
         
            +
              <span class='id identifier rubyid_private'>private</span>
         
     | 
| 
      
 555 
     | 
    
         
            +
             
     | 
| 
      
 556 
     | 
    
         
            +
              <span class='comment'># Recognizes a browser disambiguating against another.
         
     | 
| 
      
 557 
     | 
    
         
            +
            </span>  <span class='comment'>#
         
     | 
| 
      
 558 
     | 
    
         
            +
            </span>  <span class='comment'># @param agent [String] The agent to match.
         
     | 
| 
      
 559 
     | 
    
         
            +
            </span>  <span class='comment'># @param positive_matcher [Regexp] The expression to match.
         
     | 
| 
      
 560 
     | 
    
         
            +
            </span>  <span class='comment'># @param negative_matcher [Regexp] The expression NOT to match.
         
     | 
| 
      
 561 
     | 
    
         
            +
            </span>  <span class='comment'># @return [Boolean] `true` if matching succeeded, `false otherwise`.
         
     | 
| 
      
 562 
     | 
    
         
            +
            </span>  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_disambiguate_browser'>disambiguate_browser</span><span class='lparen'>(</span><span class='id identifier rubyid_agent'>agent</span><span class='comma'>,</span> <span class='id identifier rubyid_positive_matcher'>positive_matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_negative_matcher'>negative_matcher</span><span class='rparen'>)</span>
         
     | 
| 
      
 563 
     | 
    
         
            +
                <span class='id identifier rubyid_agent'>agent</span> <span class='op'>=~</span> <span class='id identifier rubyid_positive_matcher'>positive_matcher</span> <span class='op'>&&</span> <span class='id identifier rubyid_agent'>agent</span> <span class='op'>!~</span> <span class='id identifier rubyid_negative_matcher'>negative_matcher</span>
         
     | 
| 
      
 564 
     | 
    
         
            +
              <span class='kw'>end</span>
         
     | 
| 
       522 
565 
     | 
    
         | 
| 
       523 
     | 
    
         
            -
             
     | 
| 
      
 566 
     | 
    
         
            +
              <span class='comment'># Performs a match against a target.
         
     | 
| 
      
 567 
     | 
    
         
            +
            </span>  <span class='comment'>#
         
     | 
| 
      
 568 
     | 
    
         
            +
            </span>  <span class='comment'># @param matcher [Object] The matcher to run, can be a `Regexp`, a `Proc` or a string.
         
     | 
| 
      
 569 
     | 
    
         
            +
            </span>  <span class='comment'># @param target [String] The string to match.
         
     | 
| 
      
 570 
     | 
    
         
            +
            </span>  <span class='comment'># @param args [Array] Arguments to pass to the matcher. The first is definition itself.
         
     | 
| 
      
 571 
     | 
    
         
            +
            </span>  <span class='comment'># @return [Object|NilClass] A match if matcher succeeded, `nil` otherwise.
         
     | 
| 
      
 572 
     | 
    
         
            +
            </span>  <span class='kw'>def</span> <span class='id identifier rubyid_perform_match'>perform_match</span><span class='lparen'>(</span><span class='id identifier rubyid_matcher'>matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
      
 573 
     | 
    
         
            +
                <span class='kw'>if</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Regexp</span><span class='rparen'>)</span>
         
     | 
| 
       524 
574 
     | 
    
         
             
                  <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_target'>target</span><span class='rparen'>)</span>
         
     | 
| 
       525 
     | 
    
         
            -
                <span class='kw'>elsif</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:call</span><span class='rparen'>)</span> 
     | 
| 
      
 575 
     | 
    
         
            +
                <span class='kw'>elsif</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:call</span><span class='rparen'>)</span>
         
     | 
| 
       526 
576 
     | 
    
         
             
                  <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       527 
577 
     | 
    
         
             
                <span class='kw'>elsif</span> <span class='id identifier rubyid_target'>target</span> <span class='op'>==</span> <span class='id identifier rubyid_matcher'>matcher</span>
         
     | 
| 
       528 
578 
     | 
    
         
             
                  <span class='id identifier rubyid_target'>target</span>
         
     | 
| 
         @@ -615,7 +665,32 @@ This class represents a detection of the current user browser.</p> 
     | 
|
| 
       615 
665 
     | 
    
         
             
            51
         
     | 
| 
       616 
666 
     | 
    
         
             
            52
         
     | 
| 
       617 
667 
     | 
    
         
             
            53
         
     | 
| 
       618 
     | 
    
         
            -
            54 
     | 
| 
      
 668 
     | 
    
         
            +
            54
         
     | 
| 
      
 669 
     | 
    
         
            +
            55
         
     | 
| 
      
 670 
     | 
    
         
            +
            56
         
     | 
| 
      
 671 
     | 
    
         
            +
            57
         
     | 
| 
      
 672 
     | 
    
         
            +
            58
         
     | 
| 
      
 673 
     | 
    
         
            +
            59
         
     | 
| 
      
 674 
     | 
    
         
            +
            60
         
     | 
| 
      
 675 
     | 
    
         
            +
            61
         
     | 
| 
      
 676 
     | 
    
         
            +
            62
         
     | 
| 
      
 677 
     | 
    
         
            +
            63
         
     | 
| 
      
 678 
     | 
    
         
            +
            64
         
     | 
| 
      
 679 
     | 
    
         
            +
            65
         
     | 
| 
      
 680 
     | 
    
         
            +
            66
         
     | 
| 
      
 681 
     | 
    
         
            +
            67
         
     | 
| 
      
 682 
     | 
    
         
            +
            68
         
     | 
| 
      
 683 
     | 
    
         
            +
            69
         
     | 
| 
      
 684 
     | 
    
         
            +
            70
         
     | 
| 
      
 685 
     | 
    
         
            +
            71
         
     | 
| 
      
 686 
     | 
    
         
            +
            72
         
     | 
| 
      
 687 
     | 
    
         
            +
            73
         
     | 
| 
      
 688 
     | 
    
         
            +
            74
         
     | 
| 
      
 689 
     | 
    
         
            +
            75
         
     | 
| 
      
 690 
     | 
    
         
            +
            76
         
     | 
| 
      
 691 
     | 
    
         
            +
            77
         
     | 
| 
      
 692 
     | 
    
         
            +
            78
         
     | 
| 
      
 693 
     | 
    
         
            +
            79</pre>
         
     | 
| 
       619 
694 
     | 
    
         
             
                </td>
         
     | 
| 
       620 
695 
     | 
    
         
             
                <td>
         
     | 
| 
       621 
696 
     | 
    
         
             
                  <pre class="code"><span class="info file"># File 'lib/brauser/definition.rb', line 19</span>
         
     | 
| 
         @@ -642,12 +717,37 @@ This class represents a detection of the current user browser.</p> 
     | 
|
| 
       642 
717 
     | 
    
         
             
            </span>  <span class='comment'># @param args [Array] Arguments to pass to the matcher. The first is the definition itself.
         
     | 
| 
       643 
718 
     | 
    
         
             
            </span>  <span class='comment'># @return [Object|NilClass] A match if matcher succeeded, `nil` otherwise.
         
     | 
| 
       644 
719 
     | 
    
         
             
            </span>  <span class='kw'>def</span> <span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       645 
     | 
    
         
            -
                <span class=' 
     | 
| 
       646 
     | 
    
         
            -
             
     | 
| 
      
 720 
     | 
    
         
            +
                <span class='kw'>begin</span>
         
     | 
| 
      
 721 
     | 
    
         
            +
                  <span class='id identifier rubyid_matcher'>matcher</span> <span class='op'>=</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span> <span class='op'>||</span> <span class='symbol'>:primary</span><span class='rparen'>)</span>
         
     | 
| 
      
 722 
     | 
    
         
            +
                <span class='kw'>rescue</span> <span class='const'>NoMethodError</span>
         
     | 
| 
      
 723 
     | 
    
         
            +
                  <span class='kw'>nil</span>
         
     | 
| 
      
 724 
     | 
    
         
            +
                <span class='kw'>end</span>
         
     | 
| 
       647 
725 
     | 
    
         | 
| 
       648 
     | 
    
         
            -
                <span class=' 
     | 
| 
      
 726 
     | 
    
         
            +
                <span class='id identifier rubyid_perform_match'>perform_match</span><span class='lparen'>(</span><span class='id identifier rubyid_matcher'>matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
      
 727 
     | 
    
         
            +
              <span class='kw'>end</span>
         
     | 
| 
      
 728 
     | 
    
         
            +
             
     | 
| 
      
 729 
     | 
    
         
            +
              <span class='id identifier rubyid_private'>private</span>
         
     | 
| 
      
 730 
     | 
    
         
            +
             
     | 
| 
      
 731 
     | 
    
         
            +
              <span class='comment'># Recognizes a browser disambiguating against another.
         
     | 
| 
      
 732 
     | 
    
         
            +
            </span>  <span class='comment'>#
         
     | 
| 
      
 733 
     | 
    
         
            +
            </span>  <span class='comment'># @param agent [String] The agent to match.
         
     | 
| 
      
 734 
     | 
    
         
            +
            </span>  <span class='comment'># @param positive_matcher [Regexp] The expression to match.
         
     | 
| 
      
 735 
     | 
    
         
            +
            </span>  <span class='comment'># @param negative_matcher [Regexp] The expression NOT to match.
         
     | 
| 
      
 736 
     | 
    
         
            +
            </span>  <span class='comment'># @return [Boolean] `true` if matching succeeded, `false otherwise`.
         
     | 
| 
      
 737 
     | 
    
         
            +
            </span>  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_disambiguate_browser'>disambiguate_browser</span><span class='lparen'>(</span><span class='id identifier rubyid_agent'>agent</span><span class='comma'>,</span> <span class='id identifier rubyid_positive_matcher'>positive_matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_negative_matcher'>negative_matcher</span><span class='rparen'>)</span>
         
     | 
| 
      
 738 
     | 
    
         
            +
                <span class='id identifier rubyid_agent'>agent</span> <span class='op'>=~</span> <span class='id identifier rubyid_positive_matcher'>positive_matcher</span> <span class='op'>&&</span> <span class='id identifier rubyid_agent'>agent</span> <span class='op'>!~</span> <span class='id identifier rubyid_negative_matcher'>negative_matcher</span>
         
     | 
| 
      
 739 
     | 
    
         
            +
              <span class='kw'>end</span>
         
     | 
| 
      
 740 
     | 
    
         
            +
             
     | 
| 
      
 741 
     | 
    
         
            +
              <span class='comment'># Performs a match against a target.
         
     | 
| 
      
 742 
     | 
    
         
            +
            </span>  <span class='comment'>#
         
     | 
| 
      
 743 
     | 
    
         
            +
            </span>  <span class='comment'># @param matcher [Object] The matcher to run, can be a `Regexp`, a `Proc` or a string.
         
     | 
| 
      
 744 
     | 
    
         
            +
            </span>  <span class='comment'># @param target [String] The string to match.
         
     | 
| 
      
 745 
     | 
    
         
            +
            </span>  <span class='comment'># @param args [Array] Arguments to pass to the matcher. The first is definition itself.
         
     | 
| 
      
 746 
     | 
    
         
            +
            </span>  <span class='comment'># @return [Object|NilClass] A match if matcher succeeded, `nil` otherwise.
         
     | 
| 
      
 747 
     | 
    
         
            +
            </span>  <span class='kw'>def</span> <span class='id identifier rubyid_perform_match'>perform_match</span><span class='lparen'>(</span><span class='id identifier rubyid_matcher'>matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
      
 748 
     | 
    
         
            +
                <span class='kw'>if</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Regexp</span><span class='rparen'>)</span>
         
     | 
| 
       649 
749 
     | 
    
         
             
                  <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_target'>target</span><span class='rparen'>)</span>
         
     | 
| 
       650 
     | 
    
         
            -
                <span class='kw'>elsif</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:call</span><span class='rparen'>)</span> 
     | 
| 
      
 750 
     | 
    
         
            +
                <span class='kw'>elsif</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:call</span><span class='rparen'>)</span>
         
     | 
| 
       651 
751 
     | 
    
         
             
                  <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       652 
752 
     | 
    
         
             
                <span class='kw'>elsif</span> <span class='id identifier rubyid_target'>target</span> <span class='op'>==</span> <span class='id identifier rubyid_matcher'>matcher</span>
         
     | 
| 
       653 
753 
     | 
    
         
             
                  <span class='id identifier rubyid_target'>target</span>
         
     | 
| 
         @@ -740,7 +840,32 @@ This class represents a detection of the current user browser.</p> 
     | 
|
| 
       740 
840 
     | 
    
         
             
            51
         
     | 
| 
       741 
841 
     | 
    
         
             
            52
         
     | 
| 
       742 
842 
     | 
    
         
             
            53
         
     | 
| 
       743 
     | 
    
         
            -
            54 
     | 
| 
      
 843 
     | 
    
         
            +
            54
         
     | 
| 
      
 844 
     | 
    
         
            +
            55
         
     | 
| 
      
 845 
     | 
    
         
            +
            56
         
     | 
| 
      
 846 
     | 
    
         
            +
            57
         
     | 
| 
      
 847 
     | 
    
         
            +
            58
         
     | 
| 
      
 848 
     | 
    
         
            +
            59
         
     | 
| 
      
 849 
     | 
    
         
            +
            60
         
     | 
| 
      
 850 
     | 
    
         
            +
            61
         
     | 
| 
      
 851 
     | 
    
         
            +
            62
         
     | 
| 
      
 852 
     | 
    
         
            +
            63
         
     | 
| 
      
 853 
     | 
    
         
            +
            64
         
     | 
| 
      
 854 
     | 
    
         
            +
            65
         
     | 
| 
      
 855 
     | 
    
         
            +
            66
         
     | 
| 
      
 856 
     | 
    
         
            +
            67
         
     | 
| 
      
 857 
     | 
    
         
            +
            68
         
     | 
| 
      
 858 
     | 
    
         
            +
            69
         
     | 
| 
      
 859 
     | 
    
         
            +
            70
         
     | 
| 
      
 860 
     | 
    
         
            +
            71
         
     | 
| 
      
 861 
     | 
    
         
            +
            72
         
     | 
| 
      
 862 
     | 
    
         
            +
            73
         
     | 
| 
      
 863 
     | 
    
         
            +
            74
         
     | 
| 
      
 864 
     | 
    
         
            +
            75
         
     | 
| 
      
 865 
     | 
    
         
            +
            76
         
     | 
| 
      
 866 
     | 
    
         
            +
            77
         
     | 
| 
      
 867 
     | 
    
         
            +
            78
         
     | 
| 
      
 868 
     | 
    
         
            +
            79</pre>
         
     | 
| 
       744 
869 
     | 
    
         
             
                </td>
         
     | 
| 
       745 
870 
     | 
    
         
             
                <td>
         
     | 
| 
       746 
871 
     | 
    
         
             
                  <pre class="code"><span class="info file"># File 'lib/brauser/definition.rb', line 19</span>
         
     | 
| 
         @@ -767,12 +892,37 @@ This class represents a detection of the current user browser.</p> 
     | 
|
| 
       767 
892 
     | 
    
         
             
            </span>  <span class='comment'># @param args [Array] Arguments to pass to the matcher. The first is the definition itself.
         
     | 
| 
       768 
893 
     | 
    
         
             
            </span>  <span class='comment'># @return [Object|NilClass] A match if matcher succeeded, `nil` otherwise.
         
     | 
| 
       769 
894 
     | 
    
         
             
            </span>  <span class='kw'>def</span> <span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       770 
     | 
    
         
            -
                <span class=' 
     | 
| 
       771 
     | 
    
         
            -
             
     | 
| 
      
 895 
     | 
    
         
            +
                <span class='kw'>begin</span>
         
     | 
| 
      
 896 
     | 
    
         
            +
                  <span class='id identifier rubyid_matcher'>matcher</span> <span class='op'>=</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span> <span class='op'>||</span> <span class='symbol'>:primary</span><span class='rparen'>)</span>
         
     | 
| 
      
 897 
     | 
    
         
            +
                <span class='kw'>rescue</span> <span class='const'>NoMethodError</span>
         
     | 
| 
      
 898 
     | 
    
         
            +
                  <span class='kw'>nil</span>
         
     | 
| 
      
 899 
     | 
    
         
            +
                <span class='kw'>end</span>
         
     | 
| 
      
 900 
     | 
    
         
            +
             
     | 
| 
      
 901 
     | 
    
         
            +
                <span class='id identifier rubyid_perform_match'>perform_match</span><span class='lparen'>(</span><span class='id identifier rubyid_matcher'>matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
      
 902 
     | 
    
         
            +
              <span class='kw'>end</span>
         
     | 
| 
      
 903 
     | 
    
         
            +
             
     | 
| 
      
 904 
     | 
    
         
            +
              <span class='id identifier rubyid_private'>private</span>
         
     | 
| 
      
 905 
     | 
    
         
            +
             
     | 
| 
      
 906 
     | 
    
         
            +
              <span class='comment'># Recognizes a browser disambiguating against another.
         
     | 
| 
      
 907 
     | 
    
         
            +
            </span>  <span class='comment'>#
         
     | 
| 
      
 908 
     | 
    
         
            +
            </span>  <span class='comment'># @param agent [String] The agent to match.
         
     | 
| 
      
 909 
     | 
    
         
            +
            </span>  <span class='comment'># @param positive_matcher [Regexp] The expression to match.
         
     | 
| 
      
 910 
     | 
    
         
            +
            </span>  <span class='comment'># @param negative_matcher [Regexp] The expression NOT to match.
         
     | 
| 
      
 911 
     | 
    
         
            +
            </span>  <span class='comment'># @return [Boolean] `true` if matching succeeded, `false otherwise`.
         
     | 
| 
      
 912 
     | 
    
         
            +
            </span>  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_disambiguate_browser'>disambiguate_browser</span><span class='lparen'>(</span><span class='id identifier rubyid_agent'>agent</span><span class='comma'>,</span> <span class='id identifier rubyid_positive_matcher'>positive_matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_negative_matcher'>negative_matcher</span><span class='rparen'>)</span>
         
     | 
| 
      
 913 
     | 
    
         
            +
                <span class='id identifier rubyid_agent'>agent</span> <span class='op'>=~</span> <span class='id identifier rubyid_positive_matcher'>positive_matcher</span> <span class='op'>&&</span> <span class='id identifier rubyid_agent'>agent</span> <span class='op'>!~</span> <span class='id identifier rubyid_negative_matcher'>negative_matcher</span>
         
     | 
| 
      
 914 
     | 
    
         
            +
              <span class='kw'>end</span>
         
     | 
| 
       772 
915 
     | 
    
         | 
| 
       773 
     | 
    
         
            -
             
     | 
| 
      
 916 
     | 
    
         
            +
              <span class='comment'># Performs a match against a target.
         
     | 
| 
      
 917 
     | 
    
         
            +
            </span>  <span class='comment'>#
         
     | 
| 
      
 918 
     | 
    
         
            +
            </span>  <span class='comment'># @param matcher [Object] The matcher to run, can be a `Regexp`, a `Proc` or a string.
         
     | 
| 
      
 919 
     | 
    
         
            +
            </span>  <span class='comment'># @param target [String] The string to match.
         
     | 
| 
      
 920 
     | 
    
         
            +
            </span>  <span class='comment'># @param args [Array] Arguments to pass to the matcher. The first is definition itself.
         
     | 
| 
      
 921 
     | 
    
         
            +
            </span>  <span class='comment'># @return [Object|NilClass] A match if matcher succeeded, `nil` otherwise.
         
     | 
| 
      
 922 
     | 
    
         
            +
            </span>  <span class='kw'>def</span> <span class='id identifier rubyid_perform_match'>perform_match</span><span class='lparen'>(</span><span class='id identifier rubyid_matcher'>matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
      
 923 
     | 
    
         
            +
                <span class='kw'>if</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Regexp</span><span class='rparen'>)</span>
         
     | 
| 
       774 
924 
     | 
    
         
             
                  <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_target'>target</span><span class='rparen'>)</span>
         
     | 
| 
       775 
     | 
    
         
            -
                <span class='kw'>elsif</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:call</span><span class='rparen'>)</span> 
     | 
| 
      
 925 
     | 
    
         
            +
                <span class='kw'>elsif</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:call</span><span class='rparen'>)</span>
         
     | 
| 
       776 
926 
     | 
    
         
             
                  <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       777 
927 
     | 
    
         
             
                <span class='kw'>elsif</span> <span class='id identifier rubyid_target'>target</span> <span class='op'>==</span> <span class='id identifier rubyid_matcher'>matcher</span>
         
     | 
| 
       778 
928 
     | 
    
         
             
                  <span class='id identifier rubyid_target'>target</span>
         
     | 
| 
         @@ -865,7 +1015,32 @@ This class represents a detection of the current user browser.</p> 
     | 
|
| 
       865 
1015 
     | 
    
         
             
            51
         
     | 
| 
       866 
1016 
     | 
    
         
             
            52
         
     | 
| 
       867 
1017 
     | 
    
         
             
            53
         
     | 
| 
       868 
     | 
    
         
            -
            54 
     | 
| 
      
 1018 
     | 
    
         
            +
            54
         
     | 
| 
      
 1019 
     | 
    
         
            +
            55
         
     | 
| 
      
 1020 
     | 
    
         
            +
            56
         
     | 
| 
      
 1021 
     | 
    
         
            +
            57
         
     | 
| 
      
 1022 
     | 
    
         
            +
            58
         
     | 
| 
      
 1023 
     | 
    
         
            +
            59
         
     | 
| 
      
 1024 
     | 
    
         
            +
            60
         
     | 
| 
      
 1025 
     | 
    
         
            +
            61
         
     | 
| 
      
 1026 
     | 
    
         
            +
            62
         
     | 
| 
      
 1027 
     | 
    
         
            +
            63
         
     | 
| 
      
 1028 
     | 
    
         
            +
            64
         
     | 
| 
      
 1029 
     | 
    
         
            +
            65
         
     | 
| 
      
 1030 
     | 
    
         
            +
            66
         
     | 
| 
      
 1031 
     | 
    
         
            +
            67
         
     | 
| 
      
 1032 
     | 
    
         
            +
            68
         
     | 
| 
      
 1033 
     | 
    
         
            +
            69
         
     | 
| 
      
 1034 
     | 
    
         
            +
            70
         
     | 
| 
      
 1035 
     | 
    
         
            +
            71
         
     | 
| 
      
 1036 
     | 
    
         
            +
            72
         
     | 
| 
      
 1037 
     | 
    
         
            +
            73
         
     | 
| 
      
 1038 
     | 
    
         
            +
            74
         
     | 
| 
      
 1039 
     | 
    
         
            +
            75
         
     | 
| 
      
 1040 
     | 
    
         
            +
            76
         
     | 
| 
      
 1041 
     | 
    
         
            +
            77
         
     | 
| 
      
 1042 
     | 
    
         
            +
            78
         
     | 
| 
      
 1043 
     | 
    
         
            +
            79</pre>
         
     | 
| 
       869 
1044 
     | 
    
         
             
                </td>
         
     | 
| 
       870 
1045 
     | 
    
         
             
                <td>
         
     | 
| 
       871 
1046 
     | 
    
         
             
                  <pre class="code"><span class="info file"># File 'lib/brauser/definition.rb', line 19</span>
         
     | 
| 
         @@ -892,12 +1067,37 @@ This class represents a detection of the current user browser.</p> 
     | 
|
| 
       892 
1067 
     | 
    
         
             
            </span>  <span class='comment'># @param args [Array] Arguments to pass to the matcher. The first is the definition itself.
         
     | 
| 
       893 
1068 
     | 
    
         
             
            </span>  <span class='comment'># @return [Object|NilClass] A match if matcher succeeded, `nil` otherwise.
         
     | 
| 
       894 
1069 
     | 
    
         
             
            </span>  <span class='kw'>def</span> <span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       895 
     | 
    
         
            -
                <span class=' 
     | 
| 
       896 
     | 
    
         
            -
             
     | 
| 
      
 1070 
     | 
    
         
            +
                <span class='kw'>begin</span>
         
     | 
| 
      
 1071 
     | 
    
         
            +
                  <span class='id identifier rubyid_matcher'>matcher</span> <span class='op'>=</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span> <span class='op'>||</span> <span class='symbol'>:primary</span><span class='rparen'>)</span>
         
     | 
| 
      
 1072 
     | 
    
         
            +
                <span class='kw'>rescue</span> <span class='const'>NoMethodError</span>
         
     | 
| 
      
 1073 
     | 
    
         
            +
                  <span class='kw'>nil</span>
         
     | 
| 
      
 1074 
     | 
    
         
            +
                <span class='kw'>end</span>
         
     | 
| 
      
 1075 
     | 
    
         
            +
             
     | 
| 
      
 1076 
     | 
    
         
            +
                <span class='id identifier rubyid_perform_match'>perform_match</span><span class='lparen'>(</span><span class='id identifier rubyid_matcher'>matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
      
 1077 
     | 
    
         
            +
              <span class='kw'>end</span>
         
     | 
| 
      
 1078 
     | 
    
         
            +
             
     | 
| 
      
 1079 
     | 
    
         
            +
              <span class='id identifier rubyid_private'>private</span>
         
     | 
| 
       897 
1080 
     | 
    
         | 
| 
       898 
     | 
    
         
            -
             
     | 
| 
      
 1081 
     | 
    
         
            +
              <span class='comment'># Recognizes a browser disambiguating against another.
         
     | 
| 
      
 1082 
     | 
    
         
            +
            </span>  <span class='comment'>#
         
     | 
| 
      
 1083 
     | 
    
         
            +
            </span>  <span class='comment'># @param agent [String] The agent to match.
         
     | 
| 
      
 1084 
     | 
    
         
            +
            </span>  <span class='comment'># @param positive_matcher [Regexp] The expression to match.
         
     | 
| 
      
 1085 
     | 
    
         
            +
            </span>  <span class='comment'># @param negative_matcher [Regexp] The expression NOT to match.
         
     | 
| 
      
 1086 
     | 
    
         
            +
            </span>  <span class='comment'># @return [Boolean] `true` if matching succeeded, `false otherwise`.
         
     | 
| 
      
 1087 
     | 
    
         
            +
            </span>  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_disambiguate_browser'>disambiguate_browser</span><span class='lparen'>(</span><span class='id identifier rubyid_agent'>agent</span><span class='comma'>,</span> <span class='id identifier rubyid_positive_matcher'>positive_matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_negative_matcher'>negative_matcher</span><span class='rparen'>)</span>
         
     | 
| 
      
 1088 
     | 
    
         
            +
                <span class='id identifier rubyid_agent'>agent</span> <span class='op'>=~</span> <span class='id identifier rubyid_positive_matcher'>positive_matcher</span> <span class='op'>&&</span> <span class='id identifier rubyid_agent'>agent</span> <span class='op'>!~</span> <span class='id identifier rubyid_negative_matcher'>negative_matcher</span>
         
     | 
| 
      
 1089 
     | 
    
         
            +
              <span class='kw'>end</span>
         
     | 
| 
      
 1090 
     | 
    
         
            +
             
     | 
| 
      
 1091 
     | 
    
         
            +
              <span class='comment'># Performs a match against a target.
         
     | 
| 
      
 1092 
     | 
    
         
            +
            </span>  <span class='comment'>#
         
     | 
| 
      
 1093 
     | 
    
         
            +
            </span>  <span class='comment'># @param matcher [Object] The matcher to run, can be a `Regexp`, a `Proc` or a string.
         
     | 
| 
      
 1094 
     | 
    
         
            +
            </span>  <span class='comment'># @param target [String] The string to match.
         
     | 
| 
      
 1095 
     | 
    
         
            +
            </span>  <span class='comment'># @param args [Array] Arguments to pass to the matcher. The first is definition itself.
         
     | 
| 
      
 1096 
     | 
    
         
            +
            </span>  <span class='comment'># @return [Object|NilClass] A match if matcher succeeded, `nil` otherwise.
         
     | 
| 
      
 1097 
     | 
    
         
            +
            </span>  <span class='kw'>def</span> <span class='id identifier rubyid_perform_match'>perform_match</span><span class='lparen'>(</span><span class='id identifier rubyid_matcher'>matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
      
 1098 
     | 
    
         
            +
                <span class='kw'>if</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Regexp</span><span class='rparen'>)</span>
         
     | 
| 
       899 
1099 
     | 
    
         
             
                  <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_target'>target</span><span class='rparen'>)</span>
         
     | 
| 
       900 
     | 
    
         
            -
                <span class='kw'>elsif</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:call</span><span class='rparen'>)</span> 
     | 
| 
      
 1100 
     | 
    
         
            +
                <span class='kw'>elsif</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:call</span><span class='rparen'>)</span>
         
     | 
| 
       901 
1101 
     | 
    
         
             
                  <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       902 
1102 
     | 
    
         
             
                <span class='kw'>elsif</span> <span class='id identifier rubyid_target'>target</span> <span class='op'>==</span> <span class='id identifier rubyid_matcher'>matcher</span>
         
     | 
| 
       903 
1103 
     | 
    
         
             
                  <span class='id identifier rubyid_target'>target</span>
         
     | 
| 
         @@ -1002,29 +1202,19 @@ This class represents a detection of the current user browser.</p> 
     | 
|
| 
       1002 
1202 
     | 
    
         
             
            45
         
     | 
| 
       1003 
1203 
     | 
    
         
             
            46
         
     | 
| 
       1004 
1204 
     | 
    
         
             
            47
         
     | 
| 
       1005 
     | 
    
         
            -
            48
         
     | 
| 
       1006 
     | 
    
         
            -
            49
         
     | 
| 
       1007 
     | 
    
         
            -
            50
         
     | 
| 
       1008 
     | 
    
         
            -
            51
         
     | 
| 
       1009 
     | 
    
         
            -
            52
         
     | 
| 
       1010 
     | 
    
         
            -
            53</pre>
         
     | 
| 
      
 1205 
     | 
    
         
            +
            48</pre>
         
     | 
| 
       1011 
1206 
     | 
    
         
             
                </td>
         
     | 
| 
       1012 
1207 
     | 
    
         
             
                <td>
         
     | 
| 
       1013 
1208 
     | 
    
         
             
                  <pre class="code"><span class="info file"># File 'lib/brauser/definition.rb', line 40</span>
         
     | 
| 
       1014 
1209 
     | 
    
         | 
| 
       1015 
1210 
     | 
    
         
             
            <span class='kw'>def</span> <span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       1016 
     | 
    
         
            -
              <span class=' 
     | 
| 
       1017 
     | 
    
         
            -
             
     | 
| 
       1018 
     | 
    
         
            -
             
     | 
| 
       1019 
     | 
    
         
            -
              <span class='kw'>if</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Regexp</span><span class='rparen'>)</span> <span class='kw'>then</span>
         
     | 
| 
       1020 
     | 
    
         
            -
                <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='id identifier rubyid_target'>target</span><span class='rparen'>)</span>
         
     | 
| 
       1021 
     | 
    
         
            -
              <span class='kw'>elsif</span> <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:call</span><span class='rparen'>)</span> <span class='kw'>then</span>
         
     | 
| 
       1022 
     | 
    
         
            -
                <span class='id identifier rubyid_matcher'>matcher</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       1023 
     | 
    
         
            -
              <span class='kw'>elsif</span> <span class='id identifier rubyid_target'>target</span> <span class='op'>==</span> <span class='id identifier rubyid_matcher'>matcher</span>
         
     | 
| 
       1024 
     | 
    
         
            -
                <span class='id identifier rubyid_target'>target</span>
         
     | 
| 
       1025 
     | 
    
         
            -
              <span class='kw'>else</span>
         
     | 
| 
      
 1211 
     | 
    
         
            +
              <span class='kw'>begin</span>
         
     | 
| 
      
 1212 
     | 
    
         
            +
                <span class='id identifier rubyid_matcher'>matcher</span> <span class='op'>=</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span> <span class='op'>||</span> <span class='symbol'>:primary</span><span class='rparen'>)</span>
         
     | 
| 
      
 1213 
     | 
    
         
            +
              <span class='kw'>rescue</span> <span class='const'>NoMethodError</span>
         
     | 
| 
       1026 
1214 
     | 
    
         
             
                <span class='kw'>nil</span>
         
     | 
| 
       1027 
1215 
     | 
    
         
             
              <span class='kw'>end</span>
         
     | 
| 
      
 1216 
     | 
    
         
            +
             
     | 
| 
      
 1217 
     | 
    
         
            +
              <span class='id identifier rubyid_perform_match'>perform_match</span><span class='lparen'>(</span><span class='id identifier rubyid_matcher'>matcher</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
         
     | 
| 
       1028 
1218 
     | 
    
         
             
            <span class='kw'>end</span></pre>
         
     | 
| 
       1029 
1219 
     | 
    
         
             
                </td>
         
     | 
| 
       1030 
1220 
     | 
    
         
             
              </tr>
         
     | 
| 
         @@ -1036,9 +1226,9 @@ This class represents a detection of the current user browser.</p> 
     | 
|
| 
       1036 
1226 
     | 
    
         
             
            </div>
         
     | 
| 
       1037 
1227 
     | 
    
         | 
| 
       1038 
1228 
     | 
    
         
             
                <div id="footer">
         
     | 
| 
       1039 
     | 
    
         
            -
              Generated on  
     | 
| 
      
 1229 
     | 
    
         
            +
              Generated on Sat May 10 13:59:11 2014 by
         
     | 
| 
       1040 
1230 
     | 
    
         
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         
     | 
| 
       1041 
     | 
    
         
            -
              0.8.7. 
     | 
| 
      
 1231 
     | 
    
         
            +
              0.8.7.4 (ruby-2.1.0).
         
     | 
| 
       1042 
1232 
     | 
    
         
             
            </div>
         
     | 
| 
       1043 
1233 
     | 
    
         | 
| 
       1044 
1234 
     | 
    
         
             
              </body>
         
     | 
    
        data/doc/Brauser/Hooks.html
    CHANGED
    
    | 
         @@ -6,7 +6,7 @@ 
     | 
|
| 
       6 
6 
     | 
    
         
             
            <title>
         
     | 
| 
       7 
7 
     | 
    
         
             
              Module: Brauser::Hooks
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
                — Documentation by YARD 0.8.7. 
     | 
| 
      
 9 
     | 
    
         
            +
                — 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#!" 
     | 
| 
      
 20 
     | 
    
         
            +
              framesUrl = "../frames.html#!Brauser/Hooks.html";
         
     | 
| 
       21 
21 
     | 
    
         
             
            </script>
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         | 
| 
         @@ -116,9 +116,9 @@ 
     | 
|
| 
       116 
116 
     | 
    
         
             
            </div>
         
     | 
| 
       117 
117 
     | 
    
         | 
| 
       118 
118 
     | 
    
         
             
                <div id="footer">
         
     | 
| 
       119 
     | 
    
         
            -
              Generated on  
     | 
| 
      
 119 
     | 
    
         
            +
              Generated on Sat May 10 13:59:11 2014 by
         
     | 
| 
       120 
120 
     | 
    
         
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         
     | 
| 
       121 
     | 
    
         
            -
              0.8.7. 
     | 
| 
      
 121 
     | 
    
         
            +
              0.8.7.4 (ruby-2.1.0).
         
     | 
| 
       122 
122 
     | 
    
         
             
            </div>
         
     | 
| 
       123 
123 
     | 
    
         | 
| 
       124 
124 
     | 
    
         
             
              </body>
         
     | 
| 
         @@ -6,7 +6,7 @@ 
     | 
|
| 
       6 
6 
     | 
    
         
             
            <title>
         
     | 
| 
       7 
7 
     | 
    
         
             
              Module: Brauser::Hooks::RubyOnRails
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
                — Documentation by YARD 0.8.7. 
     | 
| 
      
 9 
     | 
    
         
            +
                — 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#!" 
     | 
| 
      
 20 
     | 
    
         
            +
              framesUrl = "../../frames.html#!Brauser/Hooks/RubyOnRails.html";
         
     | 
| 
       21 
21 
     | 
    
         
             
            </script>
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         | 
| 
         @@ -323,9 +323,9 @@ 
     | 
|
| 
       323 
323 
     | 
    
         
             
            </div>
         
     | 
| 
       324 
324 
     | 
    
         | 
| 
       325 
325 
     | 
    
         
             
                <div id="footer">
         
     | 
| 
       326 
     | 
    
         
            -
              Generated on  
     | 
| 
      
 326 
     | 
    
         
            +
              Generated on Sat May 10 13:59:11 2014 by
         
     | 
| 
       327 
327 
     | 
    
         
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         
     | 
| 
       328 
     | 
    
         
            -
              0.8.7. 
     | 
| 
      
 328 
     | 
    
         
            +
              0.8.7.4 (ruby-2.1.0).
         
     | 
| 
       329 
329 
     | 
    
         
             
            </div>
         
     | 
| 
       330 
330 
     | 
    
         | 
| 
       331 
331 
     | 
    
         
             
              </body>
         
     | 
    
        data/doc/Brauser/Query.html
    CHANGED
    
    | 
         @@ -6,7 +6,7 @@ 
     | 
|
| 
       6 
6 
     | 
    
         
             
            <title>
         
     | 
| 
       7 
7 
     | 
    
         
             
              Class: Brauser::Query
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
     | 
    
         
            -
                — Documentation by YARD 0.8.7. 
     | 
| 
      
 9 
     | 
    
         
            +
                — 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#!" 
     | 
| 
      
 20 
     | 
    
         
            +
              framesUrl = "../frames.html#!Brauser/Query.html";
         
     | 
| 
       21 
21 
     | 
    
         
             
            </script>
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         | 
| 
         @@ -91,7 +91,7 @@ 
     | 
|
| 
       91 
91 
     | 
    
         | 
| 
       92 
92 
     | 
    
         | 
| 
       93 
93 
     | 
    
         
             
                  <dt class="r2">Includes:</dt>
         
     | 
| 
       94 
     | 
    
         
            -
                  <dd class="r2"><span class='object_link'><a href="Chainers.html" title="Brauser::Chainers (module)">Chainers</a></span>, <span class='object_link'><a href="Queries.html" title="Brauser::Queries (module)">Queries</a></span></dd>
         
     | 
| 
      
 94 
     | 
    
         
            +
                  <dd class="r2"><span class='object_link'><a href="Queryable/Chainers.html" title="Brauser::Queryable::Chainers (module)">Brauser::Queryable::Chainers</a></span>, <span class='object_link'><a href="Queryable/Queries.html" title="Brauser::Queryable::Queries (module)">Brauser::Queryable::Queries</a></span></dd>
         
     | 
| 
       95 
95 
     | 
    
         | 
| 
       96 
96 
     | 
    
         | 
| 
       97 
97 
     | 
    
         | 
| 
         @@ -108,7 +108,7 @@ 
     | 
|
| 
       108 
108 
     | 
    
         
             
                <p>A query to a browser. This class enables concatenation, like:</p>
         
     | 
| 
       109 
109 
     | 
    
         | 
| 
       110 
110 
     | 
    
         
             
            <p><code>ruby
         
     | 
| 
       111 
     | 
    
         
            -
            Brauser::Browser.new.is(:msie). 
     | 
| 
      
 111 
     | 
    
         
            +
            Brauser::Browser.new.is(:msie).version(">= 7").on?(:windows)
         
     | 
| 
       112 
112 
     | 
    
         
             
            </code></p>
         
     | 
| 
       113 
113 
     | 
    
         | 
| 
       114 
114 
     | 
    
         
             
            <p>To end concatenation, use the <code>?</code> form of the queries or call <code>.result</code>.</p>
         
     | 
| 
         @@ -228,8 +228,8 @@ Brauser::Browser.new.is(:msie).v(">= 7").on?(:windows) 
     | 
|
| 
       228 
228 
     | 
    
         | 
| 
       229 
229 
     | 
    
         | 
| 
       230 
230 
     | 
    
         | 
| 
       231 
     | 
    
         
            -
              <h3 class="inherited">Methods included from <span class='object_link'><a href="Queries.html" title="Brauser::Queries (module)">Queries</a></span></h3>
         
     | 
| 
       232 
     | 
    
         
            -
              <p class="inherited"><span class='object_link'><a href="Queries.html#accepts%3F-instance_method" title="Brauser::Queries#accepts? (method)">#accepts?</a></span>, <span class='object_link'><a href="Queries.html#is%3F-instance_method" title="Brauser::Queries#is? (method)">#is?</a></span>, <span class='object_link'><a href="Queries.html#on%3F-instance_method" title="Brauser::Queries#on? (method)">#on?</a></span>, <span class='object_link'><a href="Queries.html# 
     | 
| 
      
 231 
     | 
    
         
            +
              <h3 class="inherited">Methods included from <span class='object_link'><a href="Queryable/Queries.html" title="Brauser::Queryable::Queries (module)">Brauser::Queryable::Queries</a></span></h3>
         
     | 
| 
      
 232 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="Queryable/Queries.html#accepts%3F-instance_method" title="Brauser::Queryable::Queries#accepts? (method)">#accepts?</a></span>, <span class='object_link'><a href="Queryable/Queries.html#is%3F-instance_method" title="Brauser::Queryable::Queries#is? (method)">#is?</a></span>, <span class='object_link'><a href="Queryable/Queries.html#on%3F-instance_method" title="Brauser::Queryable::Queries#on? (method)">#on?</a></span>, <span class='object_link'><a href="Queryable/Queries.html#version%3F-instance_method" title="Brauser::Queryable::Queries#version? (method)">#version?</a></span></p>
         
     | 
| 
       233 
233 
     | 
    
         | 
| 
       234 
234 
     | 
    
         | 
| 
       235 
235 
     | 
    
         | 
| 
         @@ -239,8 +239,8 @@ Brauser::Browser.new.is(:msie).v(">= 7").on?(:windows) 
     | 
|
| 
       239 
239 
     | 
    
         | 
| 
       240 
240 
     | 
    
         | 
| 
       241 
241 
     | 
    
         | 
| 
       242 
     | 
    
         
            -
              <h3 class="inherited">Methods included from <span class='object_link'><a href="Chainers.html" title="Brauser::Chainers (module)">Chainers</a></span></h3>
         
     | 
| 
       243 
     | 
    
         
            -
              <p class="inherited"><span class='object_link'><a href="Chainers.html#accepts-instance_method" title="Brauser::Chainers#accepts (method)">#accepts</a></span>, <span class='object_link'><a href="Chainers.html#is-instance_method" title="Brauser::Chainers#is (method)">#is</a></span>, <span class='object_link'><a href="Chainers.html#on-instance_method" title="Brauser::Chainers#on (method)">#on</a></span>, <span class='object_link'><a href="Chainers.html# 
     | 
| 
      
 242 
     | 
    
         
            +
              <h3 class="inherited">Methods included from <span class='object_link'><a href="Queryable/Chainers.html" title="Brauser::Queryable::Chainers (module)">Brauser::Queryable::Chainers</a></span></h3>
         
     | 
| 
      
 243 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="Queryable/Chainers.html#accepts-instance_method" title="Brauser::Queryable::Chainers#accepts (method)">#accepts</a></span>, <span class='object_link'><a href="Queryable/Chainers.html#is-instance_method" title="Brauser::Queryable::Chainers#is (method)">#is</a></span>, <span class='object_link'><a href="Queryable/Chainers.html#on-instance_method" title="Brauser::Queryable::Chainers#on (method)">#on</a></span>, <span class='object_link'><a href="Queryable/Chainers.html#version-instance_method" title="Brauser::Queryable::Chainers#version (method)">#version</a></span></p>
         
     | 
| 
       244 
244 
     | 
    
         
             
            <div id="constructor_details" class="method_details_list">
         
     | 
| 
       245 
245 
     | 
    
         
             
              <h2>Constructor Details</h2>
         
     | 
| 
       246 
246 
     | 
    
         | 
| 
         @@ -305,13 +305,13 @@ Brauser::Browser.new.is(:msie).v(">= 7").on?(:windows) 
     | 
|
| 
       305 
305 
     | 
    
         
             
                  <pre class="lines">
         
     | 
| 
       306 
306 
     | 
    
         | 
| 
       307 
307 
     | 
    
         | 
| 
       308 
     | 
    
         
            -
             
     | 
| 
       309 
     | 
    
         
            -
             
     | 
| 
       310 
     | 
    
         
            -
             
     | 
| 
       311 
     | 
    
         
            -
             
     | 
| 
      
 308 
     | 
    
         
            +
            31
         
     | 
| 
      
 309 
     | 
    
         
            +
            32
         
     | 
| 
      
 310 
     | 
    
         
            +
            33
         
     | 
| 
      
 311 
     | 
    
         
            +
            34</pre>
         
     | 
| 
       312 
312 
     | 
    
         
             
                </td>
         
     | 
| 
       313 
313 
     | 
    
         
             
                <td>
         
     | 
| 
       314 
     | 
    
         
            -
                  <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line  
     | 
| 
      
 314 
     | 
    
         
            +
                  <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 31</span>
         
     | 
| 
       315 
315 
     | 
    
         | 
| 
       316 
316 
     | 
    
         
             
            <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_target'>target</span><span class='comma'>,</span> <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
         
     | 
| 
       317 
317 
     | 
    
         
             
              <span class='ivar'>@target</span> <span class='op'>=</span> <span class='id identifier rubyid_target'>target</span>
         
     | 
| 
         @@ -371,32 +371,32 @@ Brauser::Browser.new.is(:msie).v(">= 7").on?(:windows) 
     | 
|
| 
       371 
371 
     | 
    
         
             
                  <pre class="lines">
         
     | 
| 
       372 
372 
     | 
    
         | 
| 
       373 
373 
     | 
    
         | 
| 
       374 
     | 
    
         
            -
             
     | 
| 
       375 
     | 
    
         
            -
             
     | 
| 
       376 
     | 
    
         
            -
             
     | 
| 
       377 
     | 
    
         
            -
             
     | 
| 
       378 
     | 
    
         
            -
             
     | 
| 
       379 
     | 
    
         
            -
             
     | 
| 
       380 
     | 
    
         
            -
             
     | 
| 
       381 
     | 
    
         
            -
             
     | 
| 
       382 
     | 
    
         
            -
             
     | 
| 
       383 
     | 
    
         
            -
             
     | 
| 
       384 
     | 
    
         
            -
             
     | 
| 
       385 
     | 
    
         
            -
             
     | 
| 
       386 
     | 
    
         
            -
             
     | 
| 
       387 
     | 
    
         
            -
             
     | 
| 
       388 
     | 
    
         
            -
             
     | 
| 
       389 
     | 
    
         
            -
             
     | 
| 
      
 374 
     | 
    
         
            +
            20
         
     | 
| 
      
 375 
     | 
    
         
            +
            21
         
     | 
| 
      
 376 
     | 
    
         
            +
            22
         
     | 
| 
      
 377 
     | 
    
         
            +
            23
         
     | 
| 
      
 378 
     | 
    
         
            +
            24
         
     | 
| 
      
 379 
     | 
    
         
            +
            25
         
     | 
| 
      
 380 
     | 
    
         
            +
            26
         
     | 
| 
      
 381 
     | 
    
         
            +
            27
         
     | 
| 
      
 382 
     | 
    
         
            +
            28
         
     | 
| 
      
 383 
     | 
    
         
            +
            29
         
     | 
| 
      
 384 
     | 
    
         
            +
            30
         
     | 
| 
      
 385 
     | 
    
         
            +
            31
         
     | 
| 
      
 386 
     | 
    
         
            +
            32
         
     | 
| 
      
 387 
     | 
    
         
            +
            33
         
     | 
| 
      
 388 
     | 
    
         
            +
            34
         
     | 
| 
      
 389 
     | 
    
         
            +
            35</pre>
         
     | 
| 
       390 
390 
     | 
    
         
             
                </td>
         
     | 
| 
       391 
391 
     | 
    
         
             
                <td>
         
     | 
| 
       392 
     | 
    
         
            -
                  <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line  
     | 
| 
      
 392 
     | 
    
         
            +
                  <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 20</span>
         
     | 
| 
       393 
393 
     | 
    
         | 
| 
       394 
394 
     | 
    
         
             
            <span class='kw'>class</span> <span class='const'>Query</span>
         
     | 
| 
       395 
395 
     | 
    
         
             
              <span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:target</span>
         
     | 
| 
       396 
396 
     | 
    
         
             
              <span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:result</span>
         
     | 
| 
       397 
397 
     | 
    
         | 
| 
       398 
     | 
    
         
            -
              <span class='id identifier rubyid_include'>include</span> <span class='const'>Brauser</span><span class='op'>::</span><span class='const'>Chainers</span>
         
     | 
| 
       399 
     | 
    
         
            -
              <span class='id identifier rubyid_include'>include</span> <span class='const'>Brauser</span><span class='op'>::</span><span class='const'>Queries</span>
         
     | 
| 
      
 398 
     | 
    
         
            +
              <span class='id identifier rubyid_include'>include</span> <span class='const'>Brauser</span><span class='op'>::</span><span class='const'>Queryable</span><span class='op'>::</span><span class='const'>Chainers</span>
         
     | 
| 
      
 399 
     | 
    
         
            +
              <span class='id identifier rubyid_include'>include</span> <span class='const'>Brauser</span><span class='op'>::</span><span class='const'>Queryable</span><span class='op'>::</span><span class='const'>Queries</span>
         
     | 
| 
       400 
400 
     | 
    
         | 
| 
       401 
401 
     | 
    
         
             
              <span class='comment'># Creates a new query.
         
     | 
| 
       402 
402 
     | 
    
         
             
            </span>  <span class='comment'>#
         
     | 
| 
         @@ -456,32 +456,32 @@ Brauser::Browser.new.is(:msie).v(">= 7").on?(:windows) 
     | 
|
| 
       456 
456 
     | 
    
         
             
                  <pre class="lines">
         
     | 
| 
       457 
457 
     | 
    
         | 
| 
       458 
458 
     | 
    
         | 
| 
       459 
     | 
    
         
            -
             
     | 
| 
       460 
     | 
    
         
            -
             
     | 
| 
       461 
     | 
    
         
            -
             
     | 
| 
       462 
     | 
    
         
            -
             
     | 
| 
       463 
     | 
    
         
            -
             
     | 
| 
       464 
     | 
    
         
            -
             
     | 
| 
       465 
     | 
    
         
            -
             
     | 
| 
       466 
     | 
    
         
            -
             
     | 
| 
       467 
     | 
    
         
            -
             
     | 
| 
       468 
     | 
    
         
            -
             
     | 
| 
       469 
     | 
    
         
            -
             
     | 
| 
       470 
     | 
    
         
            -
             
     | 
| 
       471 
     | 
    
         
            -
             
     | 
| 
       472 
     | 
    
         
            -
             
     | 
| 
       473 
     | 
    
         
            -
             
     | 
| 
       474 
     | 
    
         
            -
             
     | 
| 
      
 459 
     | 
    
         
            +
            20
         
     | 
| 
      
 460 
     | 
    
         
            +
            21
         
     | 
| 
      
 461 
     | 
    
         
            +
            22
         
     | 
| 
      
 462 
     | 
    
         
            +
            23
         
     | 
| 
      
 463 
     | 
    
         
            +
            24
         
     | 
| 
      
 464 
     | 
    
         
            +
            25
         
     | 
| 
      
 465 
     | 
    
         
            +
            26
         
     | 
| 
      
 466 
     | 
    
         
            +
            27
         
     | 
| 
      
 467 
     | 
    
         
            +
            28
         
     | 
| 
      
 468 
     | 
    
         
            +
            29
         
     | 
| 
      
 469 
     | 
    
         
            +
            30
         
     | 
| 
      
 470 
     | 
    
         
            +
            31
         
     | 
| 
      
 471 
     | 
    
         
            +
            32
         
     | 
| 
      
 472 
     | 
    
         
            +
            33
         
     | 
| 
      
 473 
     | 
    
         
            +
            34
         
     | 
| 
      
 474 
     | 
    
         
            +
            35</pre>
         
     | 
| 
       475 
475 
     | 
    
         
             
                </td>
         
     | 
| 
       476 
476 
     | 
    
         
             
                <td>
         
     | 
| 
       477 
     | 
    
         
            -
                  <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line  
     | 
| 
      
 477 
     | 
    
         
            +
                  <pre class="code"><span class="info file"># File 'lib/brauser/query.rb', line 20</span>
         
     | 
| 
       478 
478 
     | 
    
         | 
| 
       479 
479 
     | 
    
         
             
            <span class='kw'>class</span> <span class='const'>Query</span>
         
     | 
| 
       480 
480 
     | 
    
         
             
              <span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:target</span>
         
     | 
| 
       481 
481 
     | 
    
         
             
              <span class='id identifier rubyid_attr_accessor'>attr_accessor</span> <span class='symbol'>:result</span>
         
     | 
| 
       482 
482 
     | 
    
         | 
| 
       483 
     | 
    
         
            -
              <span class='id identifier rubyid_include'>include</span> <span class='const'>Brauser</span><span class='op'>::</span><span class='const'>Chainers</span>
         
     | 
| 
       484 
     | 
    
         
            -
              <span class='id identifier rubyid_include'>include</span> <span class='const'>Brauser</span><span class='op'>::</span><span class='const'>Queries</span>
         
     | 
| 
      
 483 
     | 
    
         
            +
              <span class='id identifier rubyid_include'>include</span> <span class='const'>Brauser</span><span class='op'>::</span><span class='const'>Queryable</span><span class='op'>::</span><span class='const'>Chainers</span>
         
     | 
| 
      
 484 
     | 
    
         
            +
              <span class='id identifier rubyid_include'>include</span> <span class='const'>Brauser</span><span class='op'>::</span><span class='const'>Queryable</span><span class='op'>::</span><span class='const'>Queries</span>
         
     | 
| 
       485 
485 
     | 
    
         | 
| 
       486 
486 
     | 
    
         
             
              <span class='comment'># Creates a new query.
         
     | 
| 
       487 
487 
     | 
    
         
             
            </span>  <span class='comment'>#
         
     | 
| 
         @@ -503,9 +503,9 @@ Brauser::Browser.new.is(:msie).v(">= 7").on?(:windows) 
     | 
|
| 
       503 
503 
     | 
    
         
             
            </div>
         
     | 
| 
       504 
504 
     | 
    
         | 
| 
       505 
505 
     | 
    
         
             
                <div id="footer">
         
     | 
| 
       506 
     | 
    
         
            -
              Generated on  
     | 
| 
      
 506 
     | 
    
         
            +
              Generated on Sat May 10 13:59:11 2014 by
         
     | 
| 
       507 
507 
     | 
    
         
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         
     | 
| 
       508 
     | 
    
         
            -
              0.8.7. 
     | 
| 
      
 508 
     | 
    
         
            +
              0.8.7.4 (ruby-2.1.0).
         
     | 
| 
       509 
509 
     | 
    
         
             
            </div>
         
     | 
| 
       510 
510 
     | 
    
         | 
| 
       511 
511 
     | 
    
         
             
              </body>
         
     |