class Bundler::URI::LDAP

def parse_query

from using the +query+ component attribute.
Private method to cleanup +attributes+, +scope+, +filter+, and +extensions+
def parse_query
  @attributes = nil
  @scope      = nil
  @filter     = nil
  @extensions = nil
  if @query
    attrs, scope, filter, extensions = @query.split('?')
    @attributes = attrs if attrs && attrs.size > 0
    @scope      = scope if scope && scope.size > 0
    @filter     = filter if filter && filter.size > 0
    @extensions = extensions if extensions && extensions.size > 0
  end
end