Registry / utility / rash-alt

rash-alt

JSON →
library0.4.12rbrubygemsunverified

Simple extension to Hashie::Mash for rubyified keys, all keys are converted to underscore to eliminate horrible camelCasing.

gem install rash_alt
INSTALL
IMPORT
SIG · RASH-ALT
R
rash-alt
utilityrubyv0.4.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rash
require 'rash_alt'

Create a Rash with camelCase keys and access them with underscores

require 'rash_alt' hash = Rash.new({ 'firstName' => 'John', 'lastName' => 'Doe' }) puts hash.first_name
Debug
Known issues
gotchaRash inherits from Hashie::Mash, which may have unexpected behavior with certain Ruby versions.
fix
Ensure you are using a compatible Ruby version and review Hashie::Mash documentation.
affects: >= 0.4.0
Upgrade
Version history
0.4.12latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
rash-alt — gem install rash-alt · libregistry