Skip to content

DynaHash you access Hash objects' keys like properties with dot-notation

License

Notifications You must be signed in to change notification settings

tonyheupel/dynahash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

 
 
 

Languages