brauser 3.3.2 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -0
- data/.travis-gemfile +4 -5
- data/.travis.yml +2 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile +7 -8
- data/README.md +31 -95
- data/Rakefile +0 -1
- data/brauser.gemspec +4 -4
- data/default_definitions/browsers.rb +50 -0
- data/default_definitions/languages.rb +118 -0
- data/default_definitions/platforms.rb +24 -0
- data/doc/Brauser.html +6 -6
- data/doc/Brauser/Browser.html +3867 -580
- data/doc/Brauser/Definitions.html +537 -0
- data/doc/Brauser/Definitions/Base.html +342 -0
- data/doc/Brauser/Definitions/Browser.html +1047 -0
- data/doc/Brauser/Definitions/Language.html +496 -0
- data/doc/Brauser/Definitions/Platform.html +686 -0
- data/doc/Brauser/Hooks.html +2 -2
- data/doc/Brauser/Hooks/RubyOnRails.html +9 -9
- data/doc/Brauser/Parser.html +513 -0
- data/doc/Brauser/Value.html +601 -0
- data/doc/Brauser/Version.html +5 -5
- data/doc/_index.html +25 -108
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +33 -97
- data/doc/index.html +33 -97
- data/doc/method_list.html +72 -120
- data/doc/top-level-namespace.html +2 -2
- data/lib/brauser.rb +13 -15
- data/lib/brauser/browser.rb +195 -66
- data/lib/brauser/definitions/base.rb +71 -0
- data/lib/brauser/definitions/browser.rb +80 -0
- data/lib/brauser/definitions/language.rb +29 -0
- data/lib/brauser/definitions/platform.rb +42 -0
- data/lib/brauser/hooks.rb +1 -2
- data/lib/brauser/parser.rb +47 -0
- data/lib/brauser/value.rb +39 -0
- data/lib/brauser/version.rb +3 -4
- data/spec/brauser/browser_spec.rb +73 -564
- data/spec/brauser/default_definitions_spec.rb +129 -0
- data/spec/brauser/definitions/base_spec.rb +48 -0
- data/spec/brauser/definitions/browser_spec.rb +47 -0
- data/spec/brauser/definitions/language_spec.rb +18 -0
- data/spec/brauser/definitions/platform_spec.rb +36 -0
- data/spec/brauser/hooks_spec.rb +5 -6
- data/spec/brauser/parser_spec.rb +31 -0
- data/spec/brauser/value_spec.rb +34 -0
- data/spec/coverage_helper.rb +0 -1
- data/spec/spec_helper.rb +0 -1
- metadata +50 -23
- data/lib/brauser/browseable/attributes.rb +0 -95
- data/lib/brauser/browseable/general.rb +0 -104
- data/lib/brauser/browseable/parsing.rb +0 -127
- data/lib/brauser/browseable/partial_querying.rb +0 -116
- data/lib/brauser/browseable/querying.rb +0 -63
- data/lib/brauser/browseable/register.rb +0 -73
- data/lib/brauser/definition.rb +0 -80
- data/lib/brauser/definitions/browsers.rb +0 -68
- data/lib/brauser/definitions/languages.rb +0 -130
- data/lib/brauser/definitions/platforms.rb +0 -30
- data/lib/brauser/query.rb +0 -36
- data/lib/brauser/queryable/chainers.rb +0 -56
- data/lib/brauser/queryable/queries.rb +0 -60
- data/spec/brauser/definition_spec.rb +0 -39
- data/spec/brauser/query_spec.rb +0 -111
data/doc/index.html
CHANGED
@@ -72,7 +72,7 @@
|
|
72
72
|
|
73
73
|
<p>A framework agnostic browser detection and querying helper.</p>
|
74
74
|
|
75
|
-
<p>http://sw.
|
75
|
+
<p>http://sw.cowtech.it/brauser</p>
|
76
76
|
|
77
77
|
<p>http://rdoc.info/gems/brauser</p>
|
78
78
|
|
@@ -82,7 +82,7 @@
|
|
82
82
|
|
83
83
|
<h3 id="installation">Installation</h3>
|
84
84
|
|
85
|
-
<p>Brauser comes with a Ruby on Rails hooks (more
|
85
|
+
<p>Brauser comes with a Ruby on Rails hooks (more frameworks to follow), so for Rails you have just to add this to your Gemfile:</p>
|
86
86
|
|
87
87
|
<p><code>ruby
|
88
88
|
gem "brauser"
|
@@ -102,11 +102,15 @@ browser = Brauser::Browser.new(USER_AGENT_HEADER, ACCEPT_LANGUAGE_HEADER)
|
|
102
102
|
|
103
103
|
<h3 id="getting-browser-information">Getting browser information</h3>
|
104
104
|
|
105
|
-
<p>Once you instantiate the browser, you can query the browser about <code>name</code>, <code>version</code
|
105
|
+
<p>Once you instantiate the browser, you can query the browser about <code>name</code>, <code>version</code>, <code>platform</code>, <code>languages</code>. </p>
|
106
106
|
|
107
|
-
<p>
|
107
|
+
<p>You can also get readable name and platforms via <code>human_name</code>, <code>human_platform</code>, <code>human_languages</code>.</p>
|
108
108
|
|
109
|
-
<p>The
|
109
|
+
<p>The version is handle via the <a href="http://dazuma.github.io/versionomy/">versionomy</a> gem.</p>
|
110
|
+
|
111
|
+
<p>The name and the platform are returned as <code>Symbol</code> and can be in the range of names and engines registered via <code>Brauser::Definitions.register</code>.</p>
|
112
|
+
|
113
|
+
<p>The languages are returned as an hash where values are the priorities.</p>
|
110
114
|
|
111
115
|
<p>Also, you can get global information using <code>browser.to_s</code> or <code>browser.classes</code>. This will return an array or a string already formatted to be used in your views to scope your CSS.</p>
|
112
116
|
|
@@ -128,126 +132,58 @@ browser = Brauser::Browser.new(USER_AGENT_HEADER, ACCEPT_LANGUAGE_HEADER)
|
|
128
132
|
|
129
133
|
<h3 id="querying-the-browser">Querying the browser</h3>
|
130
134
|
|
131
|
-
<p>Brauser supports querying about name
|
135
|
+
<p>Brauser supports querying about name, version, platform, language.</p>
|
132
136
|
|
133
|
-
<p>
|
137
|
+
<p>name and platform support querying via the <code>==</code> operator, which supports a single value or a list of values. </p>
|
134
138
|
|
135
139
|
<p><code>ruby
|
136
140
|
# We talk about the ending ? later.
|
137
|
-
browser.
|
141
|
+
browser.name == :chrome
|
138
142
|
# => true
|
139
|
-
browser.
|
140
|
-
# => false
|
141
|
-
browser.is?(:chrome, {lt: "2"}, :osx)
|
142
|
-
# => true
|
143
|
-
browser.is?(:chrome, ">= 3", :windows)
|
143
|
+
browser.name == [:msie, :firefox]
|
144
144
|
# => false
|
145
145
|
</code></p>
|
146
146
|
|
147
|
-
<p>The
|
148
|
-
|
149
|
-
<p>The <code>version</code> (short: <code>v</code>) method queries about the browser version. You can specify the comparison with an hash or a little expression.</p>
|
150
|
-
|
151
|
-
<p>In the case of hash, the syntax is <code>{:operator => value}</code>, where <code>:operator</code> is one of <code>[:lt, :lte, :eq, :gte, :gt]</code> and value can be a Float or a String.</p>
|
152
|
-
|
153
|
-
<p>In the case of expression, the syntax is <code>OPERATOR VALUE && ..</code>, where <code>OPERATOR</code> is one of <code>["<", "<=", "=", "==", ">=", ">"]</code> and value specifies the version.</p>
|
154
|
-
|
155
|
-
<p>Examples:</p>
|
147
|
+
<p>The version is delegated to the versionomy gem. You can use comparison operator. The right hand part must be either a <code>String</code> or a <code>Versionomy::Value</code>.</p>
|
156
148
|
|
157
149
|
<p><code>ruby
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
browser.is?("< 2 && > 1")
|
150
|
+
browser.version == "3"
|
151
|
+
# => false
|
152
|
+
browser.version >= "2"
|
162
153
|
# => true
|
163
154
|
</code></p>
|
164
155
|
|
165
|
-
<p>The
|
156
|
+
<p>The language support querying via the <code>accepts?</code> method, which supports a single value or a list of values.</p>
|
166
157
|
|
167
158
|
<p><code>ruby
|
168
|
-
browser.
|
159
|
+
browser.accepts?(:it)
|
169
160
|
# => true
|
170
|
-
browser.
|
171
|
-
# => false
|
172
|
-
</code></p>
|
173
|
-
|
174
|
-
<p>At the end, the method <code>accepts</code> checks if the browser accepts one of the specified languages. Languages should be passed as language codes in <code>String</code>.</p>
|
175
|
-
|
176
|
-
<p><code>ruby
|
177
|
-
browser.accepts?("en")
|
161
|
+
browser.accepts?(:it, :en)
|
178
162
|
# => true
|
179
|
-
browser.accepts?(["de", "es"])
|
180
|
-
# => false
|
181
163
|
</code></p>
|
182
164
|
|
183
|
-
<p>
|
184
|
-
|
185
|
-
<p>The former return a <code>Query</code> object, which supports the same query method of the browser and thus enables concatenation.</p>
|
186
|
-
|
187
|
-
<p>The latter return a boolean object, and it’s equivalent to calling <code>result</code> on the query after concatenation.</p>
|
188
|
-
|
189
|
-
<p>Ideally, you should use the <code>?</code> version to end the query and fetch the result.</p>
|
165
|
+
<p>All the querying can be combined in the single method <code>is?</code>:</p>
|
190
166
|
|
191
167
|
<p><code>ruby
|
192
|
-
|
193
|
-
|
194
|
-
browser.is(:chrome, {lt: "2"}, :osx).result
|
195
|
-
browser.is(:chrome).version({lt: "2"}).on?(:osx)
|
196
|
-
browser.is(:chrome).version({lt: "2"}).on(:osx).result
|
168
|
+
browser.is?(name: :chrome, version: ">= 4", platform: [:osx, :windows], languages: :it)
|
169
|
+
# => false
|
197
170
|
</code></p>
|
198
171
|
|
199
|
-
<p>
|
172
|
+
<p>Name, platform and languages can be either symbols or array of symbols. Version must be a query in the form is <code>OPERATOR VALUE && ..</code>,
|
173
|
+
where <code>OPERATOR</code> is one of <code>["<", "<=", "=", "==", ">=", ">"]</code> and value specifies the version.</p>
|
200
174
|
|
201
|
-
<
|
175
|
+
<h3 id="adding-new-browsers-platform-and-languages">Adding new browsers, platform and languages.</h3>
|
202
176
|
|
203
|
-
<p>
|
177
|
+
<p>To add new browsers, simply call <code>::Brauser::Definitions.register(:browser, :id, ...)</code>.</p>
|
204
178
|
|
205
|
-
<p>
|
206
|
-
|
207
|
-
|
208
|
-
# These expressions are equivalent.
|
209
|
-
browser.is(:chrome).version(“< 2 && > 1.2”).on(:osx).result
|
210
|
-
browser.is_chrome_v_lt_2_and_gt_1_2_on_osx.result</p>
|
211
|
-
|
212
|
-
<h1 id="these-expressions-are-equivalent">These expressions are equivalent.</h1>
|
213
|
-
<p>browser.is(:chrome).version(“< 2 && > 1.2”).on?(:osx)
|
214
|
-
browser.is_chrome_v_lt_2_and_gt_1_2_on_osx?
|
215
|
-
```</p>
|
216
|
-
|
217
|
-
<h3 id="adding-new-browsers">Adding new browsers</h3>
|
218
|
-
|
219
|
-
<p>To add new browsers, simply call <code>::Brauser::Browser.add(:browsers, ...)</code>.</p>
|
220
|
-
|
221
|
-
<p>This methods accepts a single instance or an array of instances of the <code>::Brauser::Definition</code> class.</p>
|
179
|
+
<p>The first argument can be <code>:browser</code>, <code>:platform</code> or <code>:language</code>.
|
180
|
+
The second argument is the id of the definition.
|
181
|
+
The remaining argument will be passed to the definition constructor.</p>
|
222
182
|
|
223
183
|
<p>For example, for Google Chrome the call should be:</p>
|
224
184
|
|
225
185
|
<p><code>ruby
|
226
|
-
Brauser::
|
227
|
-
</code></p>
|
228
|
-
|
229
|
-
<h3 id="adding-new-platforms">Adding new platforms</h3>
|
230
|
-
|
231
|
-
<p>To add new platforms, simply call <code>::Brauser::Browser.add(:platforms, ...)</code>.</p>
|
232
|
-
|
233
|
-
<p>This methods accepts a single instance or an array of instances of the <code>::Brauser::Definition</code> class.</p>
|
234
|
-
|
235
|
-
<p>For example, for Mac OS X the call should be:</p>
|
236
|
-
|
237
|
-
<p><code>ruby
|
238
|
-
Brauser::Browsers.add(:platforms, ::Brauser::Definition.new(:osx, /mac|macintosh|mac os x/i, "Apple MacOS X"))
|
239
|
-
</code></p>
|
240
|
-
|
241
|
-
<h3 id="adding-new-languages">Adding new languages</h3>
|
242
|
-
|
243
|
-
<p>To add new languages, simply call <code>::Brauser::Browser.add(:languages, ...)</code>.</p>
|
244
|
-
|
245
|
-
<p>This methods accepts a single instance or an array of instances of the <code>::Brauser::Definition</code> class.</p>
|
246
|
-
|
247
|
-
<p>For example, for Italian the call should be:</p>
|
248
|
-
|
249
|
-
<p><code>ruby
|
250
|
-
Brauser::Browsers.add(:languages, ::Brauser::Definition.new(:it, "Italian"))
|
186
|
+
Brauser::Definitions.register(:browsers, :chrome, "Chrome", /((chrome)|(chromium))/i, /(.+Chrom[a-z]+\/)([a-z0-9.]+)/i)
|
251
187
|
</code></p>
|
252
188
|
|
253
189
|
<h2 id="contributing-to-brauser">Contributing to brauser</h2>
|
@@ -270,9 +206,9 @@ Brauser::Browsers.add(:languages, ::Brauser::Definition.new(:it, "Italian"))
|
|
270
206
|
</div></div>
|
271
207
|
|
272
208
|
<div id="footer">
|
273
|
-
Generated on
|
209
|
+
Generated on Mon Sep 29 16:43:31 2014 by
|
274
210
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
275
|
-
0.8.7.4 (ruby-2.1.
|
211
|
+
0.8.7.4 (ruby-2.1.3).
|
276
212
|
</div>
|
277
213
|
|
278
214
|
</body>
|
data/doc/method_list.html
CHANGED
@@ -48,56 +48,20 @@
|
|
48
48
|
|
49
49
|
|
50
50
|
<li class="r1 ">
|
51
|
-
<span class='object_link'><a href="Brauser/
|
52
|
-
<small>Brauser::
|
51
|
+
<span class='object_link'><a href="Brauser/Value.html#%3D%3D-instance_method" title="Brauser::Value#== (method)">#==</a></span>
|
52
|
+
<small>Brauser::Value</small>
|
53
53
|
</li>
|
54
54
|
|
55
55
|
|
56
56
|
<li class="r2 ">
|
57
|
-
<span class='object_link'><a href="Brauser/
|
58
|
-
<small>Brauser::
|
59
|
-
</li>
|
60
|
-
|
61
|
-
|
62
|
-
<li class="r1 ">
|
63
|
-
<span class='object_link'><a href="Brauser/Browseable/PartialQuerying.html#accepts-instance_method" title="Brauser::Browseable::PartialQuerying#accepts (method)">#accepts</a></span>
|
64
|
-
<small>Brauser::Browseable::PartialQuerying</small>
|
65
|
-
</li>
|
66
|
-
|
67
|
-
|
68
|
-
<li class="r2 ">
|
69
|
-
<span class='object_link'><a href="Brauser/Browseable/Querying.html#accepts%3F-instance_method" title="Brauser::Browseable::Querying#accepts? (method)">#accepts?</a></span>
|
70
|
-
<small>Brauser::Browseable::Querying</small>
|
71
|
-
</li>
|
72
|
-
|
73
|
-
|
74
|
-
<li class="r1 ">
|
75
|
-
<span class='object_link'><a href="Brauser/Queryable/Queries.html#accepts%3F-instance_method" title="Brauser::Queryable::Queries#accepts? (method)">#accepts?</a></span>
|
76
|
-
<small>Brauser::Queryable::Queries</small>
|
77
|
-
</li>
|
78
|
-
|
79
|
-
|
80
|
-
<li class="r2 ">
|
81
|
-
<span class='object_link'><a href="Brauser/Browseable/Register/ClassMethods.html#add-instance_method" title="Brauser::Browseable::Register::ClassMethods#add (method)">#add</a></span>
|
82
|
-
<small>Brauser::Browseable::Register::ClassMethods</small>
|
83
|
-
</li>
|
84
|
-
|
85
|
-
|
86
|
-
<li class="r1 ">
|
87
|
-
<span class='object_link'><a href="Brauser/Browseable/Register/ClassMethods.html#add_default_browsers-instance_method" title="Brauser::Browseable::Register::ClassMethods#add_default_browsers (method)">#add_default_browsers</a></span>
|
88
|
-
<small>Brauser::Browseable::Register::ClassMethods</small>
|
89
|
-
</li>
|
90
|
-
|
91
|
-
|
92
|
-
<li class="r2 ">
|
93
|
-
<span class='object_link'><a href="Brauser/Browseable/Register/ClassMethods.html#add_default_languages-instance_method" title="Brauser::Browseable::Register::ClassMethods#add_default_languages (method)">#add_default_languages</a></span>
|
94
|
-
<small>Brauser::Browseable::Register::ClassMethods</small>
|
57
|
+
<span class='object_link'><a href="Brauser/Browser.html#accept_language-instance_method" title="Brauser::Browser#accept_language (method)">#accept_language</a></span>
|
58
|
+
<small>Brauser::Browser</small>
|
95
59
|
</li>
|
96
60
|
|
97
61
|
|
98
62
|
<li class="r1 ">
|
99
|
-
<span class='object_link'><a href="Brauser/
|
100
|
-
<small>Brauser::
|
63
|
+
<span class='object_link'><a href="Brauser/Browser.html#accepts%3F-instance_method" title="Brauser::Browser#accepts? (method)">#accepts?</a></span>
|
64
|
+
<small>Brauser::Browser</small>
|
101
65
|
</li>
|
102
66
|
|
103
67
|
|
@@ -114,206 +78,206 @@
|
|
114
78
|
|
115
79
|
|
116
80
|
<li class="r2 ">
|
117
|
-
<span class='object_link'><a href="Brauser/
|
118
|
-
<small>Brauser::
|
81
|
+
<span class='object_link'><a href="Brauser/Definitions.html#browsers-class_method" title="Brauser::Definitions.browsers (method)">browsers</a></span>
|
82
|
+
<small>Brauser::Definitions</small>
|
119
83
|
</li>
|
120
84
|
|
121
85
|
|
122
86
|
<li class="r1 ">
|
123
|
-
<span class='object_link'><a href="Brauser/
|
124
|
-
<small>Brauser::
|
87
|
+
<span class='object_link'><a href="Brauser/Browser.html#classes-instance_method" title="Brauser::Browser#classes (method)">#classes</a></span>
|
88
|
+
<small>Brauser::Browser</small>
|
125
89
|
</li>
|
126
90
|
|
127
91
|
|
128
92
|
<li class="r2 ">
|
129
|
-
<span class='object_link'><a href="Brauser/
|
130
|
-
<small>Brauser::
|
93
|
+
<span class='object_link'><a href="Brauser/Definitions/Language.html#code-instance_method" title="Brauser::Definitions::Language#code (method)">#code</a></span>
|
94
|
+
<small>Brauser::Definitions::Language</small>
|
131
95
|
</li>
|
132
96
|
|
133
97
|
|
134
98
|
<li class="r1 ">
|
135
|
-
<span class='object_link'><a href="Brauser/
|
136
|
-
<small>Brauser::
|
99
|
+
<span class='object_link'><a href="Brauser/Parser.html#disambiguate-class_method" title="Brauser::Parser.disambiguate (method)">disambiguate</a></span>
|
100
|
+
<small>Brauser::Parser</small>
|
137
101
|
</li>
|
138
102
|
|
139
103
|
|
140
104
|
<li class="r2 ">
|
141
|
-
<span class='object_link'><a href="Brauser/
|
142
|
-
<small>Brauser::
|
105
|
+
<span class='object_link'><a href="Brauser/Definitions/Browser.html#engine_matcher-instance_method" title="Brauser::Definitions::Browser#engine_matcher (method)">#engine_matcher</a></span>
|
106
|
+
<small>Brauser::Definitions::Browser</small>
|
143
107
|
</li>
|
144
108
|
|
145
109
|
|
146
110
|
<li class="r1 ">
|
147
|
-
<span class='object_link'><a href="Brauser/Browser.html#
|
111
|
+
<span class='object_link'><a href="Brauser/Browser.html#human_languages-instance_method" title="Brauser::Browser#human_languages (method)">#human_languages</a></span>
|
148
112
|
<small>Brauser::Browser</small>
|
149
113
|
</li>
|
150
114
|
|
151
115
|
|
152
116
|
<li class="r2 ">
|
153
|
-
<span class='object_link'><a href="Brauser/
|
154
|
-
<small>Brauser::
|
117
|
+
<span class='object_link'><a href="Brauser/Browser.html#human_name-instance_method" title="Brauser::Browser#human_name (method)">#human_name</a></span>
|
118
|
+
<small>Brauser::Browser</small>
|
155
119
|
</li>
|
156
120
|
|
157
121
|
|
158
122
|
<li class="r1 ">
|
159
|
-
<span class='object_link'><a href="Brauser/
|
160
|
-
<small>Brauser::
|
123
|
+
<span class='object_link'><a href="Brauser/Browser.html#human_platform-instance_method" title="Brauser::Browser#human_platform (method)">#human_platform</a></span>
|
124
|
+
<small>Brauser::Browser</small>
|
161
125
|
</li>
|
162
126
|
|
163
127
|
|
164
128
|
<li class="r2 ">
|
165
|
-
<span class='object_link'><a href="Brauser/
|
166
|
-
<small>Brauser::
|
129
|
+
<span class='object_link'><a href="Brauser/Definitions/Base.html#id-instance_method" title="Brauser::Definitions::Base#id (method)">#id</a></span>
|
130
|
+
<small>Brauser::Definitions::Base</small>
|
167
131
|
</li>
|
168
132
|
|
169
133
|
|
170
134
|
<li class="r1 ">
|
171
|
-
<span class='object_link'><a href="Brauser/
|
172
|
-
<small>Brauser::
|
135
|
+
<span class='object_link'><a href="Brauser/Hooks/RubyOnRails.html#included-class_method" title="Brauser::Hooks::RubyOnRails.included (method)">included</a></span>
|
136
|
+
<small>Brauser::Hooks::RubyOnRails</small>
|
173
137
|
</li>
|
174
138
|
|
175
139
|
|
176
140
|
<li class="r2 ">
|
177
|
-
<span class='object_link'><a href="Brauser/
|
178
|
-
<small>Brauser::
|
141
|
+
<span class='object_link'><a href="Brauser/Value.html#initialize-instance_method" title="Brauser::Value#initialize (method)">#initialize</a></span>
|
142
|
+
<small>Brauser::Value</small>
|
179
143
|
</li>
|
180
144
|
|
181
145
|
|
182
146
|
<li class="r1 ">
|
183
|
-
<span class='object_link'><a href="Brauser/
|
184
|
-
<small>Brauser::
|
147
|
+
<span class='object_link'><a href="Brauser/Definitions/Browser.html#initialize-instance_method" title="Brauser::Definitions::Browser#initialize (method)">#initialize</a></span>
|
148
|
+
<small>Brauser::Definitions::Browser</small>
|
185
149
|
</li>
|
186
150
|
|
187
151
|
|
188
152
|
<li class="r2 ">
|
189
|
-
<span class='object_link'><a href="Brauser/
|
190
|
-
<small>Brauser::
|
153
|
+
<span class='object_link'><a href="Brauser/Definitions/Platform.html#initialize-instance_method" title="Brauser::Definitions::Platform#initialize (method)">#initialize</a></span>
|
154
|
+
<small>Brauser::Definitions::Platform</small>
|
191
155
|
</li>
|
192
156
|
|
193
157
|
|
194
158
|
<li class="r1 ">
|
195
|
-
<span class='object_link'><a href="Brauser/
|
196
|
-
<small>Brauser::
|
159
|
+
<span class='object_link'><a href="Brauser/Browser.html#initialize-instance_method" title="Brauser::Browser#initialize (method)">#initialize</a></span>
|
160
|
+
<small>Brauser::Browser</small>
|
197
161
|
</li>
|
198
162
|
|
199
163
|
|
200
164
|
<li class="r2 ">
|
201
|
-
<span class='object_link'><a href="Brauser/
|
202
|
-
<small>Brauser::
|
165
|
+
<span class='object_link'><a href="Brauser/Definitions/Language.html#initialize-instance_method" title="Brauser::Definitions::Language#initialize (method)">#initialize</a></span>
|
166
|
+
<small>Brauser::Definitions::Language</small>
|
203
167
|
</li>
|
204
168
|
|
205
169
|
|
206
170
|
<li class="r1 ">
|
207
|
-
<span class='object_link'><a href="Brauser/Browser.html#
|
171
|
+
<span class='object_link'><a href="Brauser/Browser.html#is%3F-instance_method" title="Brauser::Browser#is? (method)">#is?</a></span>
|
208
172
|
<small>Brauser::Browser</small>
|
209
173
|
</li>
|
210
174
|
|
211
175
|
|
212
176
|
<li class="r2 ">
|
213
|
-
<span class='object_link'><a href="Brauser/Browser.html#
|
177
|
+
<span class='object_link'><a href="Brauser/Browser.html#languages-instance_method" title="Brauser::Browser#languages (method)">#languages</a></span>
|
214
178
|
<small>Brauser::Browser</small>
|
215
179
|
</li>
|
216
180
|
|
217
181
|
|
218
182
|
<li class="r1 ">
|
219
|
-
<span class='object_link'><a href="Brauser/
|
220
|
-
<small>Brauser::
|
183
|
+
<span class='object_link'><a href="Brauser/Definitions.html#languages-class_method" title="Brauser::Definitions.languages (method)">languages</a></span>
|
184
|
+
<small>Brauser::Definitions</small>
|
221
185
|
</li>
|
222
186
|
|
223
187
|
|
224
188
|
<li class="r2 ">
|
225
|
-
<span class='object_link'><a href="Brauser/
|
226
|
-
<small>Brauser::
|
189
|
+
<span class='object_link'><a href="Brauser/Definitions/Base.html#match-instance_method" title="Brauser::Definitions::Base#match (method)">#match</a></span>
|
190
|
+
<small>Brauser::Definitions::Base</small>
|
227
191
|
</li>
|
228
192
|
|
229
193
|
|
230
194
|
<li class="r1 ">
|
231
|
-
<span class='object_link'><a href="Brauser/
|
232
|
-
<small>Brauser::
|
195
|
+
<span class='object_link'><a href="Brauser/Definitions/Browser.html#match-instance_method" title="Brauser::Definitions::Browser#match (method)">#match</a></span>
|
196
|
+
<small>Brauser::Definitions::Browser</small>
|
233
197
|
</li>
|
234
198
|
|
235
199
|
|
236
200
|
<li class="r2 ">
|
237
|
-
<span class='object_link'><a href="Brauser/
|
238
|
-
<small>Brauser::
|
201
|
+
<span class='object_link'><a href="Brauser/Definitions/Platform.html#match-instance_method" title="Brauser::Definitions::Platform#match (method)">#match</a></span>
|
202
|
+
<small>Brauser::Definitions::Platform</small>
|
239
203
|
</li>
|
240
204
|
|
241
205
|
|
242
206
|
<li class="r1 ">
|
243
|
-
<span class='object_link'><a href="Brauser/
|
244
|
-
<small>Brauser::
|
207
|
+
<span class='object_link'><a href="Brauser/Definitions/Platform.html#matcher-instance_method" title="Brauser::Definitions::Platform#matcher (method)">#matcher</a></span>
|
208
|
+
<small>Brauser::Definitions::Platform</small>
|
245
209
|
</li>
|
246
210
|
|
247
211
|
|
248
212
|
<li class="r2 ">
|
249
|
-
<span class='object_link'><a href="Brauser/
|
250
|
-
<small>Brauser::
|
213
|
+
<span class='object_link'><a href="Brauser/Value.html#method_missing-instance_method" title="Brauser::Value#method_missing (method)">#method_missing</a></span>
|
214
|
+
<small>Brauser::Value</small>
|
251
215
|
</li>
|
252
216
|
|
253
217
|
|
254
218
|
<li class="r1 ">
|
255
|
-
<span class='object_link'><a href="Brauser/Browser.html#
|
219
|
+
<span class='object_link'><a href="Brauser/Browser.html#method_missing-instance_method" title="Brauser::Browser#method_missing (method)">#method_missing</a></span>
|
256
220
|
<small>Brauser::Browser</small>
|
257
221
|
</li>
|
258
222
|
|
259
223
|
|
260
224
|
<li class="r2 ">
|
261
|
-
<span class='object_link'><a href="Brauser/
|
262
|
-
<small>Brauser::
|
225
|
+
<span class='object_link'><a href="Brauser/Definitions/Language.html#name-instance_method" title="Brauser::Definitions::Language#name (method)">#name</a></span>
|
226
|
+
<small>Brauser::Definitions::Language</small>
|
263
227
|
</li>
|
264
228
|
|
265
229
|
|
266
230
|
<li class="r1 ">
|
267
|
-
<span class='object_link'><a href="Brauser/
|
268
|
-
<small>Brauser::
|
231
|
+
<span class='object_link'><a href="Brauser/Definitions/Browser.html#name-instance_method" title="Brauser::Definitions::Browser#name (method)">#name</a></span>
|
232
|
+
<small>Brauser::Definitions::Browser</small>
|
269
233
|
</li>
|
270
234
|
|
271
235
|
|
272
236
|
<li class="r2 ">
|
273
|
-
<span class='object_link'><a href="Brauser/
|
274
|
-
<small>Brauser::
|
237
|
+
<span class='object_link'><a href="Brauser/Definitions/Platform.html#name-instance_method" title="Brauser::Definitions::Platform#name (method)">#name</a></span>
|
238
|
+
<small>Brauser::Definitions::Platform</small>
|
275
239
|
</li>
|
276
240
|
|
277
241
|
|
278
242
|
<li class="r1 ">
|
279
|
-
<span class='object_link'><a href="Brauser/
|
280
|
-
<small>Brauser::
|
243
|
+
<span class='object_link'><a href="Brauser/Browser.html#name-instance_method" title="Brauser::Browser#name (method)">#name</a></span>
|
244
|
+
<small>Brauser::Browser</small>
|
281
245
|
</li>
|
282
246
|
|
283
247
|
|
284
248
|
<li class="r2 ">
|
285
|
-
<span class='object_link'><a href="Brauser/
|
286
|
-
<small>Brauser::
|
249
|
+
<span class='object_link'><a href="Brauser/Parser.html#parse_accept_language-instance_method" title="Brauser::Parser#parse_accept_language (method)">#parse_accept_language</a></span>
|
250
|
+
<small>Brauser::Parser</small>
|
287
251
|
</li>
|
288
252
|
|
289
253
|
|
290
254
|
<li class="r1 ">
|
291
|
-
<span class='object_link'><a href="Brauser/
|
292
|
-
<small>Brauser::
|
255
|
+
<span class='object_link'><a href="Brauser/Parser.html#parse_agent-instance_method" title="Brauser::Parser#parse_agent (method)">#parse_agent</a></span>
|
256
|
+
<small>Brauser::Parser</small>
|
293
257
|
</li>
|
294
258
|
|
295
259
|
|
296
260
|
<li class="r2 ">
|
297
|
-
<span class='object_link'><a href="Brauser/
|
298
|
-
<small>Brauser::
|
261
|
+
<span class='object_link'><a href="Brauser/Browser.html#platform-instance_method" title="Brauser::Browser#platform (method)">#platform</a></span>
|
262
|
+
<small>Brauser::Browser</small>
|
299
263
|
</li>
|
300
264
|
|
301
265
|
|
302
266
|
<li class="r1 ">
|
303
|
-
<span class='object_link'><a href="Brauser/
|
304
|
-
<small>Brauser::
|
267
|
+
<span class='object_link'><a href="Brauser/Definitions.html#platforms-class_method" title="Brauser::Definitions.platforms (method)">platforms</a></span>
|
268
|
+
<small>Brauser::Definitions</small>
|
305
269
|
</li>
|
306
270
|
|
307
271
|
|
308
272
|
<li class="r2 ">
|
309
|
-
<span class='object_link'><a href="Brauser/
|
310
|
-
<small>Brauser::
|
273
|
+
<span class='object_link'><a href="Brauser/Definitions.html#register-class_method" title="Brauser::Definitions.register (method)">register</a></span>
|
274
|
+
<small>Brauser::Definitions</small>
|
311
275
|
</li>
|
312
276
|
|
313
277
|
|
314
278
|
<li class="r1 ">
|
315
|
-
<span class='object_link'><a href="Brauser/
|
316
|
-
<small>Brauser::
|
279
|
+
<span class='object_link'><a href="Brauser/Value.html#value-instance_method" title="Brauser::Value#value (method)">#value</a></span>
|
280
|
+
<small>Brauser::Value</small>
|
317
281
|
</li>
|
318
282
|
|
319
283
|
|
@@ -324,20 +288,8 @@
|
|
324
288
|
|
325
289
|
|
326
290
|
<li class="r1 ">
|
327
|
-
<span class='object_link'><a href="Brauser/
|
328
|
-
<small>Brauser::
|
329
|
-
</li>
|
330
|
-
|
331
|
-
|
332
|
-
<li class="r2 ">
|
333
|
-
<span class='object_link'><a href="Brauser/Queryable/Queries.html#version%3F-instance_method" title="Brauser::Queryable::Queries#version? (method)">#version?</a></span>
|
334
|
-
<small>Brauser::Queryable::Queries</small>
|
335
|
-
</li>
|
336
|
-
|
337
|
-
|
338
|
-
<li class="r1 ">
|
339
|
-
<span class='object_link'><a href="Brauser/Browseable/PartialQuerying.html#version_equals_to-instance_method" title="Brauser::Browseable::PartialQuerying#version_equals_to (method)">#version_equals_to</a></span>
|
340
|
-
<small>Brauser::Browseable::PartialQuerying</small>
|
291
|
+
<span class='object_link'><a href="Brauser/Definitions/Browser.html#version_matcher-instance_method" title="Brauser::Definitions::Browser#version_matcher (method)">#version_matcher</a></span>
|
292
|
+
<small>Brauser::Definitions::Browser</small>
|
341
293
|
</li>
|
342
294
|
|
343
295
|
|