# File lib/twitter/factory.rb, line 11
    def self.fetch_or_new(method, klass, attrs={})
      return unless attrs
      if type = attrs.delete(method.to_sym)
        klass.const_get(type.camelize.to_sym).fetch_or_new(attrs)
      else
        raise ArgumentError, "argument must have :#{method} key"
      end
    end