Project

mini_tools

0.0
No commit activity in last 3 years
No release in over 3 years
A set of simple lightweight tools to demonstrate some useful object patterns in Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

MiniTools

Build Status

These are some examples of simple patterns in Ruby. Whilst they are installable using RubyGems, the idea is that they are so simple that you probably just want to roll your own derivatives rather than add another gem dependency to your app.

Each contains an example of how to use it. You can also look at the tests for each of the patterns.

Command

view

A simple command object that can also be used for service objects or interactors.

Configuration

view

A simple configuration store.

ItemFactory

view

A simple item factory.

Response

view

Works in conjunction with the Command object and represents the response from a command.

Installing from RubyGems

Install with

gem install mini_tools

or if you are using bundler, add it to your Gemfile

gem 'mini_tools'

then run

bundle