Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flum1025/dijects
https://github.com/flum1025/dijects
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/flum1025/dijects
- Owner: flum1025
- License: mit
- Created: 2017-07-09T15:25:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-09T15:35:22.000Z (over 7 years ago)
- Last Synced: 2024-10-14T00:19:38.104Z (24 days ago)
- Language: Ruby
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Dijects
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'dijects'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install dijects
## Usage
```ruby
class Key
attr_reader :keydef initialize(key)
@key = key
end
endKeys = Dijects.new(Key)
keys = Keys.new([1,2,3,4])
10.times do
print keys.key.to_s + " "
end
#=> 1 2 3 4 4 3 1 3 4 2
```## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dijects. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
## Code of Conduct
Everyone interacting in the Dijects project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/dijects/blob/master/CODE_OF_CONDUCT.md).