# File mod_docs/local.rb, line 17 def set_content_type(suffix, content_type) curr_map = @suffix_map suffix.upcase.reverse.each_byte do |c| curr_map[c] = Hash.new unless (curr_map.include? c) curr_map = curr_map[c] end curr_map[:content_type] = content_type nil end