Qi

Build Status Code Climate Gem Version Inline docs Documentation

An ordered store of stuff to manage, 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:0x007fb79f09b8d0 @size=8, @captured=nil, @position={}>

result = db.call(2, 3, 'p') # => #<Qi::Store:0x007fb79f091150 @size=8, @captured=nil, @position={3=>"p"}>
result.to_a                 # => [nil, nil, nil, "p", nil, nil, nil, nil]
result.captured             # => 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.