RubyGems Navigation menu

adornable 1.1.1

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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.3.0 - July 10, 2023 (15.0 KB)
  2. 1.2.1 - July 07, 2023 (14.0 KB)
  3. 1.2.0 - April 19, 2021 (14.0 KB)
  4. 1.1.1 - February 17, 2021 (14.0 KB)
  5. 1.1.0 - February 17, 2021 (13.0 KB)
显示所有版本 (共 9 个)

Development 依赖 (8):

bundler ~> 2.2
rake ~> 13.0
rspec ~> 3.0
rubocop ~> 1.10
rubocop-rake ~> 0.5
rubocop-rspec ~> 2.2
solargraph >= 0

业主:

推送:

作者:

  • Keegan Leitz

SHA 256 校验和:

cc134d9925e682042d26ea910d444e0f0d98104ebfb0a1b317800cef9c4bd950

下载总量 25,821

这个版本 5,059

许可:

MIT

需要的 Ruby 版本: >= 2.4.7

新的版本需要开启多因素验证: true

链接: