scss.tmbundle

https://github.com/marioricalde/scss.tmbundle

The TextMate SCSS Official Bundle. Now Compatible with SublimeText2.

Gitlab::Sherlock::LineSample#percentage_of

Returns the sample duration percentage relative to the given duration.

Example:

    sample.duration            # => 150
    sample.percentage_of(1500) # => 10.0

total_duration - The total duration to compare with.

Returns a float

Source | Google | Stack overflow

Edit

git clone [email protected]:marioricalde/scss.tmbundle.git

cd scss.tmbundle

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gitlab--Sherlock--LineSample-percentage_of-for-pr


# Commit to git

git add git commit -m "better docs for Gitlab::Sherlock::LineSample#percentage_of"


# 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--Sherlock--LineSample-percentage_of-for-pr

hub pull-request


# Celebrate!