-
Notifications
You must be signed in to change notification settings - Fork 0
DynaHash you access Hash objects' keys like properties with dot-notation
License
tonyheupel/dynahash
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
DynaHash
(c) 2010 Tony Heupel, All Rights Reserved
-------------
DynaHash extends Ruby's built-in Hash class instances to allow dot-notation
access to keys in the hash.
This is especially helpful in conjunction with the XmlSimple gem (gem install xml-simple)
Examples:
require 'rubygems'
require 'dynahash'
me = { 'First Name' => 'Tony', 'Last Name' => 'Heupel', :gender => :male }
me.first_name # => 'Tony'
me.last_name # => 'Heupel'
me.gender # => :male
About
DynaHash you access Hash objects' keys like properties with dot-notation
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published