# search_form.rb English resource. def google_form( button_name = "Google Search", size = 20, default_text = "" ) first = %Q[ Google] search_form( "https://www.google.com/search", "q", button_name, size, default_text, first, '' ) end def yahoo_form( button_name = "Yahoo! Search", size = 20, default_text = "" ) first = %Q[ [Yahoo!]] search_form( "https://search.yahoo.com/search", "p", button_name, size, default_text, first, "" ) end # Local Variables: # mode: ruby # indent-tabs-mode: t # tab-width: 3 # ruby-indent-level: 3 # End: