Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help to edit to run this program

 
gaurav gupta sitm
Ranch Hand
Posts: 47
Java Redhat Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
Thanks
 
Katrina Owen
Sheriff
Posts: 1367
18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you need client to be an instance of a class. Something like




It's hard to say without more context.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic