Registry / utility / hash-dot

hash-dot

JSON →
library2.5.0rbrubygemsunverified

HashDot allows you to call hash properties with a dot, providing a more traversable and often faster alternative to OpenStruct.

gem install hash_dot
INSTALL
IMPORT
SIG · HASH-DOT
H
hash-dot
utilityrubyv2.5.0
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.

HashDot
require 'hash_dot'

Convert a hash to a dot-accessible object

require "hash_dot" hash = { name: "Alice", age: 30 }.to_dot puts hash.name
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.5.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
hash-dot — gem install hash-dot · libregistry