Sha256: 3e186d56768bd98488ea89f48363cfc012b45f13c2c85f9fe9b2f77d43933676
Contents?: true
Size: 389 Bytes
Versions: 4
Compression:
Stored size: 389 Bytes
Contents
# frozen_string_literal: true require 'httpx' module WordOfTheDay class Adapter class Base attr_reader :language def initialize(language) @language = language.downcase end def message if word "[#{word}](#{url}) (#{language.capitalize})" else "~~#{language.capitalize}~~" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems