# File lib_ctrl/rucy/params.rb, line 1297
    def []=(pos, attrs)
      if (pos == @list.length && (attrs.kind_of? Hash)) then
        push(attrs)
        return self[-1]
      else
        raise 'failed to add entry of document list.'
      end
      nil
    end