Nomethoderror when defining method missing, what gives?

I’m trying to figure out why I keep getting “60:in block in <main>': undefined methodone’ 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

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

Thanks! That nailed it.

remove self.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs