Skip to content
/ hashd Public

Makes your hashes have dot syntax. Mutates the original hash.

License

Notifications You must be signed in to change notification settings

eldoy/hashd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hashd

Makes your hashes have dot syntax. Mutates the original hash.

Installation

gem install hashd

Usage

h = {:world => 'flat'}

# Init using the to_dot method
h.to_dot
t.world => 'flat'

# Assignment works as well
t.horizon = 'alsoflat'
t.horizon => 'flat'

Note: Don't use hash method names as hash keys.

This library is actively maintained by Fugroup Ltd. We are the creators of CrowdfundHQ.

Thanks!

@authors: Vidar

About

Makes your hashes have dot syntax. Mutates the original hash.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages