encoded()
click to toggle source
encoded_with_jpmobile()
click to toggle source
def encoded_with_jpmobile
if @mobile
self.charset = @mobile.mail_charset
end
encoded_without_jpmobile
end
encoded_without_jpmobile()
click to toggle source
initialize(value = nil, charset = 'utf-8')
click to toggle source
initialize_with_jpmobile(value = nil, charset = 'utf-8')
click to toggle source
def initialize_with_jpmobile(value = nil, charset = 'utf-8')
@jpmobile_raw_text = value
initialize_without_jpmobile(value, charset)
end
initialize_without_jpmobile(value = nil, charset = 'utf-8')
click to toggle source
mobile=(m)
click to toggle source
def mobile=(m)
if @mobile = m
self.charset = @mobile.mail_charset
self.value = @jpmobile_raw_text
self.parse
end
end