[#1094] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — Dave Thomas <dave@...>

> * eval.c (rb_mod_autoload, rb_mod_autoload_p): new method;

12 messages 2003/05/29
[#1095] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — nobu.nokada@... 2003/05/29

Hi,

Re: YAML problem

From: Tanaka Akira <akr@...17n.org>
Date: 2003-05-22 06:39:56 UTC
List: ruby-core #1069
In article <20030522064450.GA14175@rysa.inetz.com>,
  why the lucky stiff <ruby-core@whytheluckystiff.net> writes:

>> > % ruby -ryaml -e 'YAML.load({"A"=>"A,","B"=>"B"}.to_yaml)'
>
> Thank you.  This is resolved.  Still working on some encoding issues
> from your last message, some are solved.

Thank you.  But I found another:

% ruby -ryaml -e 's = {"1"=>2}.to_yaml; puts s; p YAML.load(s)'
"1": 2
/home/akr/ruby/lib/ruby/1.8/yaml.rb:28:in `load': parse error on line 0, col 3: `"1": 2' (ArgumentError)
        from /home/akr/ruby/lib/ruby/1.8/yaml.rb:28:in `load'
        from -e:1
-- 
Tanaka Akira

In This Thread