RubyGems Navigation menu

adornable 1.3.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.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 1.3.0 - July 10, 2023 (15 ko)
  2. 1.2.1 - July 07, 2023 (14 ko)
  3. 1.2.0 - April 19, 2021 (14 ko)
  4. 1.1.1 - February 17, 2021 (14 ko)
  5. 1.1.0 - February 17, 2021 (13 ko)
Voir toutes les versions (9)

Propriétaires:

Pushed by:

Auteurs:

  • Keegan Leitz

Total de contrôle SHA 256:

1f8bcbf5f5dfb0d8eda3fb6b7d021ce9e1af790864a869ec3b6178c07eacdf8e

Total de téléchargements 24 805

Pour cette version 3 161

License:

MIT

Version de Ruby requise: >= 2.5.0

New versions require MFA: true

Version published with MFA: true

Liens: