RubyGems Navigation menu

portrayal 0.2.0

Inspired by dry-initializer and virtus, portrayal is a minimalist gem (~120 loc, no dependencies) that takes a somewhat different approach to building struct-like classes. It steps away from types, coersion, and writer methods in favor of encouraging well-designed constructors. Read more in the Philosophy section of the README.

Gemfile:
=

instalar:
=

Versiones:

  1. 0.9.0 May 07, 2023 (20 KB)
  2. 0.8.0 January 28, 2023 (17,5 KB)
  3. 0.7.1 March 22, 2021 (17 KB)
  4. 0.7.0 December 13, 2020 (16,5 KB)
  5. 0.6.0 August 11, 2020 (16,5 KB)
  6. 0.2.0 July 03, 2019 (15 KB)
Mostrar todas las versiones (11 total)

dependencias de Development (4):

bundler ~> 2.0
pry ~> 0.12
rake ~> 10.0
rspec ~> 3.0

Propietarios:

Subida por:

Autores:

  • Maxim Chernyak

SHA 256 checksum:

=

Total de descargas 20.207

Para esta versión 2.361

Versión publicada:

Licencia:

Apache-2.0

Versión de Ruby requerida: >= 0

Enlace: