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:
=

install:
=

Versions:

  1. 0.1.10 May 07, 2025 (5.5 KB)
  2. 0.1.9 May 06, 2025 (6 KB)
  3. 0.1.8 November 22, 2024 (5.5 KB)
  4. 0.1.7 November 22, 2024 (5.5 KB)
  5. 0.1.6 September 07, 2024 (5.5 KB)
Show all versions (11 total)

Owners:

Pushed by:

Authors:

  • Matthew Greenfield

SHA 256 checksum:

=

Total downloads 11,907

For this version 127

Version Released:

License:

MIT

Required Ruby Version: >= 2.7.0

New versions require MFA: true

Version published with MFA: true

Links: