Method: Vpim::Agent::Path#append

Defined in:
lib/vpim/agent/calendars.rb

#append(name, scheme = nil) ⇒ Object



64
65
66
67
68
69
70
71
# File 'lib/vpim/agent/calendars.rb', line 64

def append(name, scheme = nil)
  uri = @uri.dup
  uri.path += "/" + CGI.escape(name)
  if scheme
    uri.scheme = scheme
  end
  uri
end