module Google::Cloud

def self.warn_unsupported_ruby cur_version, recommended_version

Other tags:
    Private: -
def self.warn_unsupported_ruby cur_version, recommended_version
  warn "WARNING: You are running Ruby #{cur_version}, which has reached" \
    " end-of-life and is no longer supported by Ruby Core."
  warn "The Google Cloud API clients work best on supported versions of" \
    " Ruby. It is strongly recommended that you upgrade to Ruby" \
    " #{recommended_version} or later."
  warn "See https://www.ruby-lang.org/en/downloads/branches/ for more" \
    " info on the Ruby maintenance schedule."
  warn "To suppress this message, set the" \
    " GOOGLE_CLOUD_SUPPRESS_RUBY_WARNINGS environment variable."
end