H
Hal Fulton
Hi, _why (and others who may wish to comment)...
I'm pausing from doing the hamster dance long enough to
say thanks for YAML in Ruby first of all, and second of
all to ask a couple of questions.
1. Are there plans to call #initialize_copy as we once
talked about? See my post of last week, referring to a
still older one.
2. I sometimes wish for a little less line-orientation in
YAML. Is this contrary to the spirit of YAML?
I know (and like) the "inline" arrays and hashes and such.
But when values are short enough, sometimes I'd like to put
(at least some of) them on single lines.
E.g. instead of:
- !ruby/object:SomeClass
foo: 23
bar: 37
bam: 237
I'd like:
- !ruby/object:SomeClass; foo: 23; bar: 37; bam: 237
or the equivalent.
Would this ever be possible?
Cheers,
Hal
I'm pausing from doing the hamster dance long enough to
say thanks for YAML in Ruby first of all, and second of
all to ask a couple of questions.
1. Are there plans to call #initialize_copy as we once
talked about? See my post of last week, referring to a
still older one.
2. I sometimes wish for a little less line-orientation in
YAML. Is this contrary to the spirit of YAML?
I know (and like) the "inline" arrays and hashes and such.
But when values are short enough, sometimes I'd like to put
(at least some of) them on single lines.
E.g. instead of:
- !ruby/object:SomeClass
foo: 23
bar: 37
bam: 237
I'd like:
- !ruby/object:SomeClass; foo: 23; bar: 37; bam: 237
or the equivalent.
Would this ever be possible?
Cheers,
Hal