public
Rubygem
Description: JSON Web App Framework
Homepage: http://halcyon.rubyforge.org/
Clone URL: git://github.com/mtodd/halcyon.git
Search Repo:
Click here to lend your support to: halcyon and make a donation at www.pledgie.com !
Made hashes returned from loading configuration files Mashes in order to 
allow indifferent access (since YAML and JSON won't know a difference 
between strings and symbols).
mtodd (author)
Tue Jul 01 13:46:19 -0700 2008
commit  aebf7c7dcf365f771a2f007faf0eaf3abbc6ffc0
tree    0339d5868cc7b3ea4729bbdb93527ec06e2e6a26
parent  b7b361cf882912513fc6feef01863a59e3e200b5
...
44
45
46
47
 
48
49
50
...
44
45
46
 
47
48
49
50
0
@@ -44,7 +44,7 @@ module Halcyon
0
       # # load method
0
       #
0
       def to_hash(from = :from_yaml)
0
- case from
0
+ Mash.new case from
0
         when :from_yaml
0
           require 'yaml'
0
           YAML.load(self.content)

Comments

    No one has commented yet.