RubyGems Navigation menu

l43_open_object 0.2.1

When using the class method `attributes` in a class you get: - an initialize method with attributes as kwd params and the respective defaults - immutable instances - a to_h method using all attributes - an update method to create new imutable instances - a destruct_keys method aliased to to_h for pattern matching

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.1 - April 26, 2024 (16.5 KB)
  2. 0.2.0 - April 25, 2024 (16 KB)
  3. 0.1.1 - April 25, 2024 (16 KB)
  4. 0.1.0 - April 24, 2024 (16 KB)

Owners:

Pushed by:

Authors:

  • Robert Dober

SHA 256 checksum:

a5d44a94377339a2091e26a48a6db5e609e81579a99eead19df05e988d8e59de

Total downloads 497

For this version 139

License:

AGPL-3.0-or-later

Required Ruby Version: >= 3.3.0

Links: