doc/index.html in brauser-3.1.5 vs doc/index.html in brauser-3.1.6
- old
+ new
@@ -135,11 +135,11 @@
# We talk about the ending ? later.
browser.is?(:chrome)
# => true
browser.is?([:msie, :firefox])
# => false
-browser.is?(:chrome, {:lt => "2"}, :osx)
+browser.is?(:chrome, {lt: "2"}, :osx)
# => true
browser.is?(:chrome, ">= 3", :windows)
# => false
</code></p>
@@ -153,11 +153,11 @@
<p>Examples:</p>
<p><code>ruby
# Those two methods are equivalent.
-browser.v?({:lt => "2", :gt => 1})
+browser.v?({lt: "2", gt: 1})
# => true
browser.is?("< 2 && > 1")
# => true
</code></p>
@@ -187,14 +187,14 @@
<p>Ideally, you should use the <code>?</code> version to end the query and fetch the result.</p>
<p><code>ruby
# These expressions are equivalent.
-browser.is?(:chrome, {:lt => "2"}, :osx)
-browser.is(:chrome, {:lt => "2"}, :osx).result
-browser.is(:chrome).v({:lt => "2"}).on?(:osx)
-browser.is(:chrome).v({:lt => "2"}).on(:osx).result
+browser.is?(:chrome, {lt: "2"}, :osx)
+browser.is(:chrome, {lt: "2"}, :osx).result
+browser.is(:chrome).v({lt: "2"}).on?(:osx)
+browser.is(:chrome).v({lt: "2"}).on(:osx).result
</code></p>
<p>Finally, Brauser support dynamic query operator to write simple queries without using concatenation.</p>
<p>You construct the method just using operator specified above, separating method name and method arguments with a <code>_</code>.</p>
@@ -267,10 +267,10 @@
<p>Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p>
</div></div>
<div id="footer">
- Generated on Sun Jul 14 15:54:50 2013 by
+ Generated on Sun Jul 14 16:06:02 2013 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.6.2 (ruby-1.9.3).
</div>
</body>
\ No newline at end of file