lib/mms2r/media.rb
def subject

      unless @subject
        subject = mail.subject.strip rescue ""
        ignores = config['ignore']['text/plain']
        if ignores && ignores.detect{|s| s == subject}
          @subject = ""
        else
          @subject = transform_text('text/plain', subject).last
        end
      end

      @subject
    end
def subject

      unless @subject
        subject = mail.subject.strip rescue ""
        ignores = config['ignore']['text/plain']
        if ignores && ignores.detect{|s| s == subject}
          @subject = ""
        else
          @subject = transform_text('text/plain', subject).last
        end
      end

      @subject
    end
def subject unless @subject subject = mail . subject . strip rescue "" ignores = config [ 'ignore' ] [ 'text/plain' ] if ignores && ignores . detect { | s | s == subject } @subject = "" else @subject = transform_text ( 'text/plain' , subject ) . last end end @subject end
Return the Subject for this message, returns "" for default carrier
 subject such as 'Multimedia message' for ATT&T carrier.
Return the Subject for this message returns for default carrier subject such as Multimedia message for ATT&T carrier .