Sha256: b7d12cdf8ebd0f6b5872f4c6383f6c0a8d2b9203f2ee50f47bc6074f3aea4c67
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
# Toolcase A module to convert a class in a Toolcase of handlers. Inspired in an implementation of a Strategy pattern mixed with an Abstract Factory. Add this module to a class to have the ability of register handlers as Strategies, and then search/select them as a Factory. ## Installation Add this line to your application's Gemfile: ```ruby gem 'toolcase' ``` And then execute: $ bundle install ## Usage TODO: Write usage instructions here ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org). ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/enchf/toolcase. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
toolcase-0.1.0 | README.md |