Writing a 'Mad Libs' program using Ruby?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Writing a 'Mad Libs' program using Ruby?
# 1  
Old 10-02-2009
Writing a 'Mad Libs' program using Ruby?

How would I go about writing a 'Mad Libs' type program using Ruby?

Any examples would be greatly appreciated.

Thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Create shared libs on AIX (with certain libs which are statically linked)

I want to create a shared lib with certain libs statically linked to it. I can generate a fully shared lib as follows: gcc -maix64 -DHAVE_CONFIG_H -I. -I./src -DHAVE_OPENSSL -I/usr/include/openssl -I/usr/include -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/usr/java8_64/include -shared -o... (0 Replies)
Discussion started by: amandeepgautam
0 Replies

2. Programming

Writing C++ program Arguments and Classes

I want to write a C++ program that uses a class to do some calculations. I pass arguments to the program, some of which are used to set up class members. A class function will then perform the necessary calculations. I am wondering how I should pass the arguments from the program to set the... (2 Replies)
Discussion started by: kristinu
2 Replies

3. Programming

writing a shell program in ubuntu

Hi all, I have an assignment from school to write a shell program in linux. the idea is to exercise fork() and execv() functions.. the shell program is supposed to be the master and every command that the user prints will run in a new process. we also need to try running the command in every... (1 Reply)
Discussion started by: r3vive
1 Replies

4. Shell Programming and Scripting

best way for removing comment from ruby program

Hi all, I would want to remove all comments from my ruby/rails program. It may seem like a simple task, but it is not so. Because you need to have your tool implemented as like your language parser which is actually not so easy. And am in the search of it, to remove comment from ruby/rails.... (4 Replies)
Discussion started by: thegeek
4 Replies

5. UNIX Desktop Questions & Answers

need help writing a program to look for doubles

to determine if two two doubles are equal, we check to see if their absolute difference is very close to zero. . .if two numbers are less than .00001 apart, theyre equal. keep a count field in each record (as you did in p5). once the list is complete, ask the user to see if an element is on... (2 Replies)
Discussion started by: rickym2626
2 Replies

6. UNIX for Dummies Questions & Answers

Problem with writing a program

Hi guys I'm having trouble with trying to create a script which calculates the grade of a student and the marks out of 300. The grades are: 0-49% fail 50-59% pass 60-69% credit pass 70-79% distinction 80-100% high distinction less than 0 or greater than 100 displays error message. My... (1 Reply)
Discussion started by: CompNoob
1 Replies

7. Shell Programming and Scripting

Need help on a program I'm writing

Hey guys.. I'm trying to learn how to script in bash... THIS IS NOT AN ASSIGNMENT but my instructor says to learn you must practice I'm trying to add to a program I'm writing that will print and save raw data... What syntax commands would I use to write them? And Thank you... (2 Replies)
Discussion started by: dmosheye
2 Replies

8. UNIX for Dummies Questions & Answers

writing a program

i have written a very simple program in the vi editor, how do i now make it an executable file? (3 Replies)
Discussion started by: carlvernon
3 Replies

9. What is on Your Mind?

I'm writing a new Linux program!

Yep, that's right. I'm writing a Linux binary that requires an X11 Server. It will also be released in a Shell, Win32, and Cocoa (Mac OS X). It's a program that's a text editor and more. It not just creates TXT and RTF files, it also can save in XML, RSS, and a whole lot of other formats. ... (11 Replies)
Discussion started by: Danny_10
11 Replies
Login or Register to Ask a Question
SHOES(1)							       Shoes								  SHOES(1)

NAME
shoes - interpreter for Ruby files that use the Shoes library SYNOPSIS
shoes [options] (app.rb or app.shy) DESCRIPTION
Shoes is a very informal graphics and windowing toolkit for making simple graphical applications written in Ruby. The shoes command is used to run these applications. If no application is given on the command line, a file browser will be opened to let you pick one. Sup- ported file types are .rb, for plain Ruby files; or .shy, for compressed Shoes YAML archives. OPTIONS
This program follow the usual GNU command line syntax, with long options starting with two dashes (`--'). A summary of the options sup- ported by shoes is included below. -h, --help Show summary of options. -m, --manual Open the built-in manual. -s, --shy DIRECTORY Compress a directory into a Shoes YAML (SHY) archive. SEE ALSO
The built-in manual can be read by running shoes -m. More information can be found on the Shoes website, at http://code.whytheluckystiff.net/shoes/. AUTHOR
Shoes was written by why the lucky stiff <why@whytheluckystiff.net>. This manual page was written by Bram Senders <bram@luon.net>, for the Debian project (but may be used by others). Curious (0.r396) 2008-01-22 SHOES(1)