class Larch::Database::Message
Public Instance Methods
flags()
click to toggle source
# File lib/larch/db/message.rb, line 4 def flags self[:flags].split(',').sort.map do |f| # Flags beginning with $ should be strings; all others should be symbols. f[0,1] == '$' ? f : f.to_sym end end
flags=(flags)
click to toggle source
# File lib/larch/db/message.rb, line 15 def flags=(flags) self[:flags] = flags.map{|f| f.to_s }.join(',') end
flags_str()
click to toggle source
# File lib/larch/db/message.rb, line 11 def flags_str self[:flags] end