Able

This gem contains pieces of code I copy-past from one project to another one.

Installation

Add this line to your application's Gemfile:

gem 'able'

And then execute:

$ bundle

Or install it yourself as:

$ gem install able

Usage

Concerns

  1. Emailable
  2. Fullnameable full_name method

  3. Tokenizer Type inside your model

    before_create do
    generate_token :api_token
    generate_uuid!
    end
    

Ruby class extensions

  1. Integer
  2. Kernel
  3. String

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/entity1991/able.

License

The gem is available as open source under the terms of the MIT License.