--CblX+4bnyfN0pR09
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 22, 2011 at 02:23:19PM +0900, Siratinee Sukachai wrote:
> I have a Hash which value is Array of Hashes. And I expected to generate
> the yaml like this:
>=20
> ---
>   Session:
>     singular: Session
>     email: Email
>     password: Password
>     rememberMe: Remember Me!
>=20
>=20
> But when I use dump method to generate yaml file and the result is:
>=20
> ---
> - Session:
>     - singular: |
>         Session
>=20
>     - email: |
>         Email
>=20
>     - password: |
>         Password
>=20
>     - rememberMe: |
>         Remember Me!
>=20
>=20
> When I print out my hash on command line, it look like this:
>=20
> SessionsingularSession
> emailEmail
> passwordPassword
> rememberMeRemember Me!
>=20
>=20
> What do you think? Am I wrong with any steps?
> If I need to generate yaml look like above, how can I do?

Can you provide the code you're using to produce this YAML?

--=20
Aaron Patterson
http://tenderlovemaking.com/

--CblX+4bnyfN0pR09
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iQEcBAEBAgAGBQJNsajRAAoJEJUxcLy0/6/GCFEH/0VTH/IbpzhtcnQtM3to3R/I
3bMg+Mc0MDwQvJmpjnWUgfYMOnPz2Yrix4zYVwmU1Yd1+VPk6HX8Ijlftogh0Xm2
aJJh5LpNwKKqjkJxO3j8h0rbGH6tB9BXJhp27ly1M4zS6+Q9CXvoArugjFmaEzEp
w4mahPA9tD26LfNr5VASN90GguUPISeL+XBZXil9EFmxBY+JJbr2V4dIv+/sc4VU
0DY1LboqxsTQqcV6eA5CgXlaRpR6hHzsZVFnfw7hCE8PsEFBhN1J+CK89qo+nK46
5JuBxE4pUlDNxURU1bSuJr9iQ9TfiwggLFVYxIcKv3rSt12lN/zh8pKrns/qQPU=
=9f1B
-----END PGP SIGNATURE-----

--CblX+4bnyfN0pR09--