How to use another script for input.
Ken D'Ambrosio <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <[email protected]> |
Hey, all. I've written a script that does a bunch of OpenStack API stuff. Yay. But now I'm writing a CGI front-end, and I'd like to use the first script to inform the new one, so to speak. I assume I have to do classes in the "back-end" script, and then access them from the CGI script. I have no idea how to make this happen, aside from the fact that "require" is probably involved. Can someone point me to a site that could help me figure that out? Thanks! -Ken Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>