Qi

Build Status Gem Version Inline docs Documentation

An ordered store to collect symbols for Ruby.

Rubies

Installation

Add this line to your application's Gemfile:

gem 'qi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install qi

Example

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.

Contributing

  1. Fork it
  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.