lib/rio/if/test.rb in rio-0.4.0 vs lib/rio/if/test.rb in rio-0.4.1
- old
+ new
@@ -234,10 +234,10 @@
# rio('afile').zero? => true or false
# Returns +true+ if the named file exists and has a zero size.
def zero?(*args) target.zero?(*args) end
- # Returns true if the rio represents and absolute path or URI. Alias for IF::Test#absolute?
+ # Returns true if the rio represents an absolute path or URI. Alias for IF::Test#absolute?
#
# rio('/tmp').abs? # >> true
# rio('.ssh').abs? # >> false
# rio('file:///tmp').abs? # >> true
# rio('http://www.ruby-doc.org/').abs? # >> true