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

instalar:
=

Versiones:

  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)

Propietarios:

Subida por:

Autores:

  • Robert Dober

SHA 256 checksum:

=

Total de descargas 1.299

Para esta versión 380

Versión publicada:

Licencia:

AGPL-3.0-or-later

Versión de Ruby requerida: >= 3.3.0

Enlace: