class Addressable::URI

def encode_with(coder)

def encode_with(coder)
  instance_variables.each do |ivar|
    value = instance_variable_get(ivar)
    if value != NONE
      key = ivar.to_s.slice(1..-1)
      coder[key] = value
    end
  end
  nil
end