Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3299
| From | Brian Candler <b.candler@pobox.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: error: undefined method |
| Date | 2011-04-21 04:20 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <6bf9e978bb2982e4bc2fb9eda30f7736@ruby-forum.com> (permalink) |
| References | <0bfc818aaade1cf1852b483c69c7074b@ruby-forum.com> |
Siratinee Sukachai wrote in post #994228:
> Any suggestions?
Yes - make a standalone minimal program which demonstrates the problem.
You're showing your code out of context - we can't see what class each
method is defined in. If you can make a simple program which
demonstrates the problem, then we can run it, and can debug it for you -
although more than likely you'll find the problem yourself as part of
the process of boiling it down to a simple case.
Right now, the code you've posted isn't even valid Ruby:
class ConvertToYaml
{
...
} # wrong
class ConvertToYaml
...
end # right
--
Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
error: undefined method Siratinee Sukachai <ploy.sukachai@gmail.com> - 2011-04-21 02:55 -0500
Re: error: undefined method Brian Candler <b.candler@pobox.com> - 2011-04-21 04:20 -0500
Re: error: undefined method Siratinee Sukachai <ploy.sukachai@gmail.com> - 2011-04-21 04:34 -0500
Re: error: undefined method Gunther Diemant <g.diemant@gmx.net> - 2011-04-21 06:59 -0500
csiph-web