# File lib/technorati.rb, line 734 def search(words, args = {}) words = words.join(' ') if words.respond_to?(:join) # if this is an old-style call, then convert it. legacy_classes = [String, Numeric] args = legacy_search(args) if args && legacy_classes.any? { |c| args.kind_of?(c) } args.update('query' => words) # execute a search query and return the results get('search', args) end