RubyGems Navigation menu

adornable 1.2.0

Adornable provides the ability to cleanly decorate methods in Ruby. You can make and use your own decorators, and you can also use some of the built-in ones that the gem provides. _Decorating_ methods is as simple as slapping a `decorate :some_decorator` above your method definition. _Defining_ decorators can be as simple as defining a method that yields to a block, or as complex as manipulating the decorated method's receiver and arguments, and/or changing the functionality of the decorator based on custom options supplied to it when initially applying the decorator.

Versions:

  1. 1.2.0 - April 19, 2021 (14 KB)
  2. 1.1.1 - February 17, 2021 (14 KB)
  3. 1.1.0 - February 17, 2021 (13 KB)
  4. 1.0.3 - February 15, 2021 (12.5 KB)
  5. 1.0.2 - February 15, 2021 (11.5 KB)
Show all versions (7 total)

Owners:

Pushed by:

Authors:

  • Keegan Leitz

SHA 256 checksum:

45e19b23fe7a0bb1c70a0a3b30328fd1eadd13a9e3bd645766bdaef4da08f3eb

Total downloads 10,495

For this version 2,330

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 2.4.7

Links: