Method: Vpim.encode_text_list
- Defined in:
- lib/vpim/rfc2425.rb
.encode_text_list(v, sep = ",") ⇒ Object
v is an Array of String, or just a single String
269 270 271 272 273 274 275 |
# File 'lib/vpim/rfc2425.rb', line 269 def Vpim.encode_text_list(v, sep = ",") #:nodoc: begin v.to_ary.map{ |t| Vpim.encode_text(t) }.join(sep) rescue Vpim.encode_text(v) end end |