BSD Ports

devel/ruby-necromancer 0.7.0 NetBSD

Conversion from one object type to another

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel, ruby
Package size
41.6 KiB, 160.4 KiB installed

Description

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

Install

Binary package:

pkgin install ruby33-necromancer

From pkgsrc:

cd /usr/pkgsrc/devel/ruby-necromancer && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-necromancer-0.7.0, ruby40-necromancer-0.7.0