Class/Module Index [+]

Quicksearch

Mail::CommonField::InstanceMethods

Public Instance Methods

default() click to toggle source
# File lib/mail/fields/common/common_field.rb, line 33
def default
  decoded
end
field_length() click to toggle source
# File lib/mail/fields/common/common_field.rb, line 37
def field_length
  @length ||= name.length + value.length + ': '.length
end
name() click to toggle source
# File lib/mail/fields/common/common_field.rb, line 14
def name
  @name
end
name=(value) click to toggle source
# File lib/mail/fields/common/common_field.rb, line 10
def name=(value)
  @name = value
end
responsible_for?( val ) click to toggle source
# File lib/mail/fields/common/common_field.rb, line 41
def responsible_for?( val )
  name.to_s.downcase == val.to_s.downcase
end
to_s() click to toggle source
# File lib/mail/fields/common/common_field.rb, line 29
def to_s
  decoded
end
value() click to toggle source
# File lib/mail/fields/common/common_field.rb, line 25
def value
  @value
end
value=(value) click to toggle source
# File lib/mail/fields/common/common_field.rb, line 18
def value=(value)
  @length = nil
  @tree = nil
  @element = nil
  @value = value
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.