./devel/ruby-necromancer, Conversion from one object type to another

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q3, Version: 0.6.0, Package name: ruby26-necromancer-0.6.0, Maintainer: pkgsrc-users

Necromancer

> Conversion from one object type to another with a bit of black magic.

Necromancer provides independent type conversion component for [TTY]
(https://github.com/piotrmurach/tty) toolkit.

## Motivation

Conversion between Ruby core types frequently comes up in projects but is solved by half-baked solutions. This library aims to provide an independent and extensible API to support a robust and generic way to convert between core Ruby types.

## Features

* Simple and expressive API
* Ability to specify own converters
* Ability to compose conversions out of simpler ones
* Support conversion of custom defined types
* Ability to specify strict conversion mode


Master sites:

SHA1: e9dc69ce365c2c648c915b0c4a2a00526f59b3ff
RMD160: dfbb9cc2cd231733d327021d458610714263f19d
Filesize: 14.5 KB

Version history: (Expand)