Module: Mail::Jdec
- Defined in:
- lib/mail/jdec.rb,
lib/mail/jdec/decoder.rb,
lib/mail/jdec/version.rb,
lib/mail/jdec/detector.rb,
lib/mail/jdec/body_patch.rb,
lib/mail/jdec/message_patch.rb,
lib/mail/jdec/ruby_1_9_patch.rb,
lib/mail/jdec/encodings_patch.rb,
lib/mail/jdec/fields/date_field_patch.rb,
lib/mail/jdec/fields/address_field_patch.rb,
lib/mail/jdec/fields/references_field_patch.rb,
lib/mail/jdec/fields/structured_field_patch.rb,
lib/mail/jdec/fields/unstructured_field_patch.rb,
lib/mail/jdec/elements/content_type_element_patch.rb,
lib/mail/jdec/elements/content_disposition_element_patch.rb
Defined Under Namespace
Modules: AddressFieldPatch, BodyPatch, ContentDispositionElementPatch, ContentTypeElementPatch, DateFieldPatch, EncodingsPatch, Escaper, MessagePatch, ReferencesFieldPatch, Ruby19Patch, StructuredFieldPatch, UnstructuredFieldPatch Classes: Decoder, Detector, ValueDecoder
Constant Summary collapse
- VERSION =
'1.0.7'
Class Attribute Summary collapse
-
.autodetect_confidence ⇒ Object
Returns the value of attribute autodetect_confidence.
-
.autodetect_skip_charsets ⇒ Object
Returns the value of attribute autodetect_skip_charsets.
-
.enabled ⇒ Object
readonly
Returns the value of attribute enabled.
-
.preferred_charsets ⇒ Object
Returns the value of attribute preferred_charsets.
Class Method Summary collapse
Class Attribute Details
.autodetect_confidence ⇒ Object
Returns the value of attribute autodetect_confidence.
12 13 14 |
# File 'lib/mail/jdec.rb', line 12 def autodetect_confidence @autodetect_confidence end |
.autodetect_skip_charsets ⇒ Object
Returns the value of attribute autodetect_skip_charsets.
13 14 15 |
# File 'lib/mail/jdec.rb', line 13 def autodetect_skip_charsets @autodetect_skip_charsets end |
.enabled ⇒ Object (readonly)
Returns the value of attribute enabled.
11 12 13 |
# File 'lib/mail/jdec.rb', line 11 def enabled @enabled end |
.preferred_charsets ⇒ Object
Returns the value of attribute preferred_charsets.
14 15 16 |
# File 'lib/mail/jdec.rb', line 14 def preferred_charsets @preferred_charsets end |
Class Method Details
.disable ⇒ Object
24 25 26 |
# File 'lib/mail/jdec.rb', line 24 def disable @@enabled = false end |
.enable ⇒ Object
20 21 22 |
# File 'lib/mail/jdec.rb', line 20 def enable @@enabled = true end |
.enabled? ⇒ Boolean
16 17 18 |
# File 'lib/mail/jdec.rb', line 16 def enabled? @@enabled end |