File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ruby and the fly likes help to edit to run this program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "help to edit to run this program" Watch "help to edit to run this program" New topic

help to edit to run this program

gaurav gupta sitm
Ranch Hand

Joined: Jun 19, 2011
Posts: 47

in this script one parameter shows error client
Please help to edit this program to run without problem
Error ->
`<main>': undefined local variable or method `client' for main:Object (NameError)
what should we have to place instead of client to run without error

Please help....
Katrina Owen

Joined: Nov 03, 2006
Posts: 1367
It looks like you need client to be an instance of a class. Something like

It's hard to say without more context.
I agree. Here's the link:
subject: help to edit to run this program
It's not a secret anymore!