class Hpricot::Elem
Public Instance Methods
href()
click to toggle source
Resource url
# File lib/davclient/hpricot_extensions.rb, line 23 def href() self.at("d:href").innerText end
isCollection?()
click to toggle source
Returns true of resource is a collection, i.e. a folder and not a file.
# File lib/davclient/hpricot_extensions.rb, line 28 def isCollection?() self.at("d:collection") != nil end
method_missing(method_name, *args)
click to toggle source
Makes properties available as simple method calls.
Example:
print item.creationdate()
# File lib/davclient/hpricot_extensions.rb, line 15 def method_missing(method_name, *args) if(args.size == 0) then return property(method_name.to_s) end raise "Method missing" end