RubyGems Navigation menu

omg-attrs 0.1.6

- 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#match?` 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.6 September 07, 2024 (5.5 KB)
  2. 0.1.5 September 05, 2024 (5.5 KB)
  3. 0.1.4 September 05, 2024 (5.5 KB)
  4. 0.1.3 September 05, 2024 (5.5 KB)
  5. 0.1.2 September 04, 2024 (5.5 KB)
Show all versions (7 total)

Owners:

Pushed by:

Authors:

  • Matthew Greenfield

SHA 256 checksum:

=

Total downloads 6,215

For this version 5,195

Version Released:

License:

MIT

Required Ruby Version: >= 2.7.0

New versions require MFA: true

Version published with MFA: true

Links: