class SearchMethodGenerator < Rails::Generators::NamedBase
    source_root File.expand_path("../templates", __FILE__)
    
    def create
      copy_file "search_method.rb", "app/whowas/search_methods/#{file_name}.rb"