main_type()
click to toggle source
# File lib/tmail/header.rb, line 753 def main_type ensure_parsed @main end
# File lib/tmail/header.rb, line 788 def []( key ) ensure_parsed @params and unquote(@params[key]) end
# File lib/tmail/header.rb, line 793 def []=( key, val ) ensure_parsed (@params ||= {})[key] = val end
# File lib/tmail/header.rb, line 773 def content_type ensure_parsed @sub ? sprintf('%s/%s', @main, @sub) : @main end
# File lib/tmail/header.rb, line 753 def main_type ensure_parsed @main end
# File lib/tmail/header.rb, line 758 def main_type=( arg ) ensure_parsed @main = arg.downcase end
# File lib/tmail/header.rb, line 778 def params ensure_parsed unless @params.blank? @params.each do |k, v| @params[k] = unquote(v) end end @params end
Generated with the Darkfish Rdoc Generator 2.