In Files

Methods

Class/Module Index [+]

Quicksearch

RubyQmail::Netstring

Public Instance Methods

to_netstring() click to toggle source

Converts the string to a netstring: "length:value,"

# File lib/netstring.rb, line 5
def to_netstring()
  "#{self.size}:#{self},"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.