Displaying 1 result from an estimated 1 matches for "samrobert".
Did you mean:
samroberts
2008 Jun 18
1
Vpim gem
...ext", but are passing a compound data type (an Array).
Using #to_s would "work" in the sense that it would silently produce garbage:
irb(main):001:0> STDIN.to_s
=> "#<IO:0x2ad22ad66f10>"
irb(main):002:0> ["sam","roberts"].to_s
=> "samroberts"
#to_s is intended for debugging/logging purposes, not for clubbing
everything into string form.
What field are you setting, whats in the Array you are using as input,
and what do you expect it to be in the vCard (or iCalendar)?
Cheers,
Sam