Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/namusyaka/r2ree-ruby
r2ree bindings for Ruby
https://github.com/namusyaka/r2ree-ruby
Last synced: about 1 month ago
JSON representation
r2ree bindings for Ruby
- Host: GitHub
- URL: https://github.com/namusyaka/r2ree-ruby
- Owner: namusyaka
- License: mit
- Created: 2016-09-29T12:21:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-10T12:11:55.000Z (almost 6 years ago)
- Last Synced: 2024-04-24T14:37:31.396Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 26.4 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# R2ree
[![Build Status](https://travis-ci.org/namusyaka/r2ree-ruby.svg?branch=master)](https://travis-ci.org/namusyaka/r2ree-ruby)
[r2ree](https://github.com/namusyaka/r2ree) bindings for Ruby
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'r2ree'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install r2ree
## Usage
```ruby
tree = R2ree.new(['/a', '/b', '/c'])tree.size #=> 3
tree.find('/b') #=> 1
tree.exist?('/c') #=> true
```## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/namusyaka/r2ree-ruby.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).