Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Ruby and the fly likes create doc and add elements like tables and text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Ruby
Bookmark "create doc and add elements like tables and text " Watch "create doc and add elements like tables and text " New topic
Author

create doc and add elements like tables and text

Kri
Greenhorn

Joined: Mar 05, 2008
Posts: 3
Hi,

I am new to ruby programming. I would like to know how to create a document and add elements like texts and tables. I also need to modify those and then write them into a file.

Is it possible to do it with Ruby?

Thanks,
K
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Are you looking for something like http://wiki.github.com/hpricot/hpricot ?

By the way "Kri"

Please click on the My Profile link above and change your display name to meet the JavaRanch Naming Policy of using your real first and real last names.

Thanks

Balaji


Spritle Software Blogs
Kri
Greenhorn

Joined: Mar 05, 2008
Posts: 3
I need to create elements like text and tables in memory, should be able to edit, delete them and finally write it to a file.
I am purely using RUby.
 
 
subject: create doc and add elements like tables and text
 
Similar Threads
Sorting Data without a Database
Problem with displaying an histogramm with Cewolf
Packageing
Ruby in Practice - Ruby as a first choice
RAILS: Why should I?