Method: Vpim::DirectoryInfo#encode
- Defined in:
- lib/vpim/dirinfo.rb
#encode(width = nil) ⇒ Object Also known as: to_s
The string encoding of the DirectoryInfo. See Field#encode for information about the width parameter.
243 244 245 246 247 248 |
# File 'lib/vpim/dirinfo.rb', line 243 def encode(width=nil) unless @string @string = @fields.collect { |f| f.encode(width) } . join "" end @string end |