From: Ruby Geo Date: 2007-12-19T22:55:19+09:00 Subject: Metho Error Why do I get the folowing error when I run this method ? ? wrong number of arguments (2 for 3) (ArgumentError) from C:/Ruby/methodscop/lib/new_class.rb:65 -------------------------------------------------------------------- def self.search_by_keyword(businesses, searched_keyword_as_array, flag_exact_or_partial_match) businesses.select do |b| b.my_keywords.include?(searched_keyword_as_array ) end end -- Posted via http://www.ruby-forum.com/.