From: "Jakub Kuźma" Date: 2007-09-13T02:15:10+09:00 Subject: Re: YAML Library not recognized Dnia Thu, 13 Sep 2007 01:43:21 +0900 Ahmed Hashim napisał(a): > {}.to_yaml > > and i got the following error: > > NoMethodError: undefined method `to_yaml' for {}:Hash irb(main):001:0> {}.to_yaml NoMethodError: undefined method `to_yaml' for {}:Hash from (irb):1 irb(main):002:0> require 'yaml' => true irb(main):003:0> {}.to_yaml => "--- {}\n\n" It works on my system (Ubuntu 7.04, Ruby from package). -- Jakub Kuźma http://jah.pl/ JID oraz e-mail w domenie gmail.com, login - qoobaa