to_json / to_xml: where to find?

F

Fritz Trapper

I'm trying to use to_xls, but are running into documentation problems:
Instead of completely describing the options, the author writes:

"The builder options are the same as to_json / to_xml, except for the
:include."

The same did the guy who wrote to_csv. Really great.

I can't find neither to_json nor to_xml. Where to find these gems?
 
M

Michael Fellinger

I'm trying to use to_xls, but are running into documentation problems:
Instead of completely describing the options, the author writes:

=C2=A0"The builder options are the same as to_json / to_xml, except for t= he
:include."

The same did the guy who wrote to_csv. Really great.

I can't find neither to_json nor to_xml. Where to find these gems?

At least to_json is part of the json library in stdlib, docs at:
http://ruby-doc.org/ruby-1.9/classes/JSON/Ext/Generator/GeneratorMethods/Ha=
sh.html

--=20
Michael Fellinger
CTO, The Rubyists, LLC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top