Nomethoderror when defining method missing, what gives?

I'm trying to figure out why I keep getting "60:in `block in <main>':
undefined method `one' for #<ActsAsCsv::CsvRow:0x17b3320 @row=["lions",
"tigers"]> (NoMethodError)" when I'm including "self.method_missing".
That's it really. I'm not trying to get help on getting my program to
work, I just don't get why it isn't using my method when it has a
nomethoderror.

Instead of self.method_missing I've also tried substitution the classes
which host it, didn't work.

Attachments:
http://www.ruby-forum.com/attachment/6715/day3Ruby.txt

···

--
Posted via http://www.ruby-forum.com/.

remove `self.`

···

On Oct 31, 11:55 pm, mike lev <mlevinei...@gmail.com> wrote:

I'm trying to figure out why I keep getting "60:in `block in <main>':
undefined method `one' for #<ActsAsCsv::CsvRow:0x17b3320 @row=["lions",
"tigers"]> (NoMethodError)" when I'm including "self.method_missing".
That's it really. I'm not trying to get help on getting my program to
work, I just don't get why it isn't using my method when it has a
nomethoderror.

Instead of self.method_missing I've also tried substitution the classes
which host it, didn't work.

Attachments:http://www.ruby-forum.com/attachment/6715/day3Ruby.txt

--
Posted viahttp://www.ruby-forum.com/.

Thanks! That nailed it.

···

--
Posted via http://www.ruby-forum.com/.