lib/vpim/address.rb in vpim-0.695 vs lib/vpim/address.rb in vpim-13.11.11

- old
+ new

@@ -1,5 +1,6 @@ +# -*- encoding : utf-8 -*- =begin Copyright (C) 2008 Sam Roberts This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for @@ -137,11 +138,11 @@ partstat = field.param('PARTSTAT') if partstat adr.partstat = partstat.first.strip.upcase end - + rsvp = field.param('RSVP') if rsvp adr.rsvp = case rsvp.first when /TRUE/i then true @@ -161,10 +162,10 @@ end value = uri.to_str.strip if value.empty? - raise Uencodeable, "Address#uri is zero-length" + raise Unencodeable, "Address#uri is zero-length" end params = {} if cn.length > 0