Class: Net::IMAP::QuotedString
Do not use. This class is for internal use only.
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
ValidNonLiteralData,
CommandData,
Data
|
|
|
Instance Chain:
self,
ValidNonLiteralData,
CommandData,
Data
|
|
| Inherits: |
Net::IMAP::ValidNonLiteralData
|
| Defined in: | lib/net/imap/command_data.rb |
Overview
Represents a ::Net::IMAP quoted string, which can encode any valid ASCII or
UTF-8 string, unless it contains any CR, LF, or NULL bytes.
NOTE: The current implementation does not verify that the connection supports UTF-8. Future versions may validate this.
Class Method Summary
Instance Attribute Summary
Instance Method Summary
ValidNonLiteralData - Inherited
CommandData - Inherited
Constructor Details
This class inherits a constructor from Net::IMAP::ValidNonLiteralData
Instance Method Details
#formatted
[ GitHub ]# File 'lib/net/imap/command_data.rb', line 306
def formatted = %("#{data.gsub(/["\]/, "\\\&")}")