Module: TMail::MailFlags
- Included in:
- MaildirPort, MhPort
- Defined in:
- lib/gems/tmail-1.2.3.1/lib/tmail/port.rb
Instance Method Summary collapse
- #flagged=(b) ⇒ Object
- #flagged? ⇒ Boolean
- #replied=(b) ⇒ Object
- #replied? ⇒ Boolean
- #seen=(b) ⇒ Object
- #seen? ⇒ Boolean
Instance Method Details
#flagged=(b) ⇒ Object
171 172 173 |
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/port.rb', line 171 def flagged=( b ) set_status 'F', b end |
#flagged? ⇒ Boolean
175 176 177 |
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/port.rb', line 175 def flagged? get_status 'F' end |
#replied=(b) ⇒ Object
163 164 165 |
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/port.rb', line 163 def replied=( b ) set_status 'R', b end |
#replied? ⇒ Boolean
167 168 169 |
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/port.rb', line 167 def replied? get_status 'R' end |
#seen=(b) ⇒ Object
155 156 157 |
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/port.rb', line 155 def seen=( b ) set_status 'S', b end |
#seen? ⇒ Boolean
159 160 161 |
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/port.rb', line 159 def seen? get_status 'S' end |