From: Robert Klemme Date: 2012-10-12T01:42:40+09:00 Subject: Re: ghost methods and dynamic methods On Thu, Oct 11, 2012 at 2:27 AM, dis guy wrote: > I am a newbie to ruby please explain your answers thoroughly. I am > having a lot of difficulties with the syntax. Thanks for the help. > > I want to call this missing method: > > redcars= myclass.select_cars_where_color("==", "red") Why do you want to do that? The proper way to code that selection would be redcars = myclass.select {|car| car.color == "red"} Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/