BSD Ports

devel/rubygem-rash 0.4.0_1 DragonFly

Simple extension to Hashie::Mash for rubyfied keys

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, rubygems
Package size
5.1 KiB, 12.0 KiB installed

Description

Rash is an extension to Hashie

Rash subclasses Hashie::Mash to convert all keys in the hash to underscore.

The purpose of this is when working w/ Java (or any other apis) that return hashes (including nested) that have camelCased keys

You will now be able to access those keys through underscored key names (camelCase still available).

In the other systems

SystemPortVersion
DragonFlydevel/rubygem-rash0.4.0_1
FreeBSDdevel/rubygem-rash0.4.0_1

Install

Binary package:

pkg install rubygem-rash

From DPorts:

cd /usr/dports/devel/rubygem-rash && make install clean

Dependencies

Run dependencies 3

No port depends on this one.