Method: Tree.location

Defined in:
lib/rwd/tree.rb

.location(url, form = Hash.new) ⇒ Object



168
169
170
171
172
# File 'lib/rwd/tree.rb', line 168

def self.location(url, form=Hash.new)
  s = HTTPClient.get(url, {}, form)
  s = ""  if s.nil?
  new(s)
end