elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby
Ruby
Ruby integrations for Elasticsearch
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.
Edit
git clone [email protected]:elastic/elasticsearch-ruby.git
cd elasticsearch-ruby
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SourceMap--Offset-----for-pr
# Commit to gitgit add git commit -m "better docs for SourceMap::Offset#<=>"
# Open pull requestgem 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!