#290 √ resolved
Le Huy

[BUG][PATCH] YAML::load doesn't recognize symbol as it should

Reported by Le Huy | January 30th, 2008 @ 02:15 AM | in 1.0 preview

irb(main):001:0> require 'yaml'
=> true
irb(main):002:0> YAML.load(File.read('bool.yml'))
=> {":foo"=>true, ":bar"=>false}
irb(main):003:0> YAML.load(":foo:  hello")
=> {":foo"=>"hello"}

it should return

 {:foo=>"hello"}

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Tags