dynamoid

https://github.com/veraticus/dynamoid

Ruby ORM for Amazon's DynamoDB

Gitlab::LDAP::DN#initialize

Initialize a DN, escaping as required. Pass in attributes in name/value
pairs. If there is a left over argument, it will be appended to the dn
without escaping (useful for a base string).

Most uses of this class will be to escape a DN, rather than to parse it,
so storing the dn as an escaped String and parsing parts as required
with a state machine seems sensible.

Source | Google | Stack overflow

Edit

git clone [email protected]:veraticus/dynamoid.git

cd dynamoid

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gitlab--LDAP--DN-initialize-for-pr


# Commit to git

git add git commit -m "better docs for Gitlab::LDAP::DN#initialize"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Gitlab--LDAP--DN-initialize-for-pr

hub pull-request


# Celebrate!