diaspora

https://github.com/diaspora/diaspora

Ruby

A privacy-aware, distributed, open source social network.

Diaspora::Mentionable.people_from_string

takes a message text and returns an array of people constructed from the
contained mentions

Source | Google | Stack overflow

Edit

git clone [email protected]:diaspora/diaspora.git

cd diaspora

open lib/diaspora/mentionable.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Diaspora--Mentionable-people_from_string-for-pr


# Commit to git

git add lib/diaspora/mentionable.rbgit commit -m "better docs for Diaspora::Mentionable.people_from_string"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Diaspora--Mentionable-people_from_string-for-pr

hub pull-request


# Celebrate!