RubyGems Navigation menu

portrayal 0.9.0

Inspired by dry-initializer and virtus, portrayal is a minimalist gem 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:
= Copy to clipboard Copied!

install:
=

Versions:

  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)
Show all versions (11 total)

Development Dependencies (4):

benchmark-ips ~> 2.11
pry ~> 0.14
rake ~> 13.0
rspec ~> 3.12

Owners:

Pushed by:

Authors:

  • Max Chernyak

SHA 256 checksum:

31f052fbfcbd9cfc59d060417f1865d388c391fda66ee426ce5b1ef5b52fa945

Total downloads 17,314

For this version 2,053

License:

Apache-2.0

Required Ruby Version: >= 2.4.0

Links: