RubyGems Navigation menu

omg-attrs 0.1.10

- Adds `Object#attrs` method for querying nested attributes - Adds `Array#where` to return a subset of elements matching a condition - Adds `Array#find_by` to return the first element matching a condition - Adds `Object#matches?` to check if an object matches a condition - Adds `Hash#method_missing` to allow {a: 1}.a instead of {a: 1}[:a]

Gemfile:
=

installation:
=

Versions:

  1. 0.1.10 May 07, 2025 (5,5 ko)
  2. 0.1.9 May 06, 2025 (6 ko)
  3. 0.1.8 November 22, 2024 (5,5 ko)
  4. 0.1.7 November 22, 2024 (5,5 ko)
  5. 0.1.6 September 07, 2024 (5,5 ko)
Voir toutes les versions (11)

Propriétaires:

Pushed by:

Auteurs:

  • Matthew Greenfield

Total de contrôle SHA 256:

=

Total de téléchargements 11 953

Pour cette version 143

Version publiée:

License:

MIT

Version de Ruby requise: >= 2.7.0

New versions require MFA: true

Version published with MFA: true

Liens: