Qi
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
License
See LICENSE.md
file.