childprocess

https://github.com/enkessler/childprocess

Ruby

Cross-platform Ruby library for managing child processes.

SourceMap::Offset#<=>

Public: Compare Offset to another.

Useful for determining if a position in a few is between two offsets.

other - Another Offset

Returns a negative number when other is smaller and a positive number
when its greater. Implements the Comparable#<=> protocol.

Source | Google | Stack overflow

Edit

git clone [email protected]:enkessler/childprocess.git

cd childprocess

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-SourceMap--Offset-----for-pr


# Commit to git

git add git commit -m "better docs for SourceMap::Offset#<=>"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-SourceMap--Offset-----for-pr

hub pull-request


# Celebrate!