Sha256: 3bbf138a5971f15057a058b8127a4a5d40c242254fb00f0e0b130cf7828451ee
Contents?: true
Size: 381 Bytes
Versions: 4
Compression:
Stored size: 381 Bytes
Contents
# frozen_string_literal: true module DeepL module Resources class LanguagePair < Base attr_reader :source_lang, :target_lang def initialize(source_lang, target_lang, *args) super(*args) @source_lang = source_lang @target_lang = target_lang end def to_s "#{source_lang} - #{target_lang}" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems