Module: Mail::Jenc
- Defined in:
- lib/mail/jenc.rb,
lib/mail/jenc/version.rb,
lib/mail/jenc/b_encoder.rb,
lib/mail/jenc/message_patch.rb,
lib/mail/jenc/ruby_1_9_patch.rb,
lib/mail/jenc/percent_encoder.rb,
lib/mail/jenc/rfc2231_encoder.rb,
lib/mail/jenc/attachments_list_patch.rb,
lib/mail/jenc/fields/address_field_patch.rb,
lib/mail/jenc/fields/unstructured_field_patch.rb
Defined Under Namespace
Modules: AddressFieldPatch, AttachmentsListPatch, MessagePatch, Ruby19Patch, UnstructuredFieldPatch Classes: BEncoder, PercentEncoder, RFC2231Encoder
Constant Summary collapse
- VERSION =
'1.0.8'
Class Attribute Summary collapse
-
.enabled ⇒ Object
readonly
Returns the value of attribute enabled.
-
.escape_sequence_charsets ⇒ Object
Returns the value of attribute escape_sequence_charsets.
-
.preferred_charsets ⇒ Object
Returns the value of attribute preferred_charsets.
-
.rfc2231 ⇒ Object
Returns the value of attribute rfc2231.
Class Method Summary collapse
Class Attribute Details
.enabled ⇒ Object (readonly)
Returns the value of attribute enabled.
10 11 12 |
# File 'lib/mail/jenc.rb', line 10 def enabled @enabled end |
.escape_sequence_charsets ⇒ Object
Returns the value of attribute escape_sequence_charsets.
12 13 14 |
# File 'lib/mail/jenc.rb', line 12 def escape_sequence_charsets @escape_sequence_charsets end |
.preferred_charsets ⇒ Object
Returns the value of attribute preferred_charsets.
13 14 15 |
# File 'lib/mail/jenc.rb', line 13 def preferred_charsets @preferred_charsets end |
.rfc2231 ⇒ Object
Returns the value of attribute rfc2231.
11 12 13 |
# File 'lib/mail/jenc.rb', line 11 def rfc2231 @rfc2231 end |
Class Method Details
.disable ⇒ Object
23 24 25 |
# File 'lib/mail/jenc.rb', line 23 def disable @@enabled = false end |
.enable ⇒ Object
19 20 21 |
# File 'lib/mail/jenc.rb', line 19 def enable @@enabled = true end |
.enabled? ⇒ Boolean
15 16 17 |
# File 'lib/mail/jenc.rb', line 15 def enabled? @@enabled end |