Module: Mail::Jenc

Defined in:
lib/mail/jenc.rb,
lib/mail/jenc/encoder.rb,
lib/mail/jenc/version.rb,
lib/mail/jenc/message_patch.rb,
lib/mail/jenc/ruby_1_9_patch.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, PercentEncoder, RFC2231Encoder, Ruby19Patch, UnstructuredFieldPatch

Constant Summary collapse

VERSION =
'1.0.7'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.enabledObject (readonly)

Returns the value of attribute enabled.



10
11
12
# File 'lib/mail/jenc.rb', line 10

def enabled
  @enabled
end

.preferred_charsetsObject

Returns the value of attribute preferred_charsets.



12
13
14
# File 'lib/mail/jenc.rb', line 12

def preferred_charsets
  @preferred_charsets
end

.rfc2231Object

Returns the value of attribute rfc2231.



11
12
13
# File 'lib/mail/jenc.rb', line 11

def rfc2231
  @rfc2231
end

Class Method Details

.disableObject



22
23
24
# File 'lib/mail/jenc.rb', line 22

def disable
  @@enabled = false
end

.enableObject



18
19
20
# File 'lib/mail/jenc.rb', line 18

def enable
  @@enabled = true
end

.enabled?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/mail/jenc.rb', line 14

def enabled?
  @@enabled
end