CrabScout. The best software around.
Search

Dry Struct

Create structured Ruby values with named, typed fields.

dry-rb · Code and testing

GitHub projectOpen source Open on GitHub

How to try it

With Ruby 3.2 available, install dry-struct at version 1.8.1. Build a fruit object from a string and a numeric parameter.

What we tested

1.8.1. Build a fruit object from a string and a numeric parameter. The struct returned pear and converted the count from a string to an integer.

Reviews

Rate this repo

More to explore

  • GleamWrite typed code for the Erlang virtual machine or JavaScript.GitHub projectOpen source
  • PixiSet up reproducible software environments for projects.GitHub projectOpen source
  • LycheeCheck that document links point to reachable paths.GitHub projectOpen source

Share

What the labels mean

Save to your library