Sha256: 19b390776adc68d6b653f1cf67035b25d7b5f08b9376a43f5d24c859ca1b91d2

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

# Qi

[![Build Status](https://travis-ci.org/cyril/qi.svg?branch=master)][travis]
[![Gem Version](https://badge.fury.io/rb/qi.svg)][gem]
[![Inline docs](http://inch-ci.org/github/cyril/qi.svg?branch=master)][inchpages]
[![Documentation](http://img.shields.io/:yard-docs-38c800.svg)][rubydoc]

> An ordered store to collect symbols for Ruby.

## Rubies

* [MRI](https://www.ruby-lang.org/)
* [Rubinius](http://rubini.us/)
* [JRuby](http://jruby.org/)

## Installation

Add this line to your application's Gemfile:

    gem 'qi'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install qi

## Example

```ruby
require 'qi'

db = Qi::Store.new(8)               # => #<Qi::Store:0x007f8c0a82f300 @cells=[nil, nil, nil, nil, nil, nil, nil, nil]>

result = db.call(2, 3, '♙'.to_sym)  # => #<Qi::Result:0x007ff3539d71e8 @store=#<Qi::Store:0x007ff3539d7238 @cells=[nil, nil, nil, :♙, nil, nil, nil, nil]>, @deleted_content=nil>
result.store.cells                  # => [nil, nil, nil, :♙, nil, nil, nil, nil]
result.deleted_content              # => nil
```

## Versioning

__Qi__ follows [Semantic Versioning 2.0](http://semver.org/).

## Contributing

1. [Fork it](https://github.com/sashite/qi/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## License

See `LICENSE.md` file.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
qi-3.0.0 README.md