class Rounders::Mail
Attributes
mail[R]
Public Class Methods
new(mail)
click to toggle source
# File lib/rounders/mail.rb, line 53 def initialize(mail) @mail = mail end
Public Instance Methods
text()
click to toggle source
# File lib/rounders/mail.rb, line 57 def text if mail.multipart? mail.text_part.decoded else mail.decoded end end
Private Instance Methods
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/rounders/mail.rb, line 71 def method_missing(method, *args, &block) if mail.respond_to?(method) mail.public_send(method, *args, &block) else super end end
respond_to_missing?(method, *args, &block)
click to toggle source
# File lib/rounders/mail.rb, line 67 def respond_to_missing?(method, *args, &block) mail.respond_to?(method, *args, &block) end