Sha256: 1de816f244ec784d86cde4b0bd12cd687599fbe912794b88d5bbaa8953c059a7
Contents?: true
Size: 966 Bytes
Versions: 2
Compression:
Stored size: 966 Bytes
Contents
# frozen_string_literal: true require_relative 'request' module Kovid class Nineteen class << self def whatis definition = <<-TEXT Coronavirus disease 2019 (COVID-19) is an infectious disease caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The disease was first identified in 2019 in Wuhan, China, and has since spread globally, resulting in the 2019–20 coronavirus pandemic. TEXT puts definition end def country(name) puts Kovid::Request.by_country(name) end def country_full(name) puts Kovid::Request.by_country_full(name) end def country_comparison(name) puts Kovid::Request.by_country_comparison(name) end def country_comparison_full(name) puts Kovid::Request.by_country_comparison_full(name) end def cases puts Kovid::Request.cases end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kovid-0.1.9 | lib/kovid/nineteen.rb |
kovid-0.1.8 | lib/kovid/nineteen.rb |