Sha256: 25943e8e43538cbabdb65b2115cc2ca0b8fb00faec7f235b102bf98ad079f4e3
Contents?: true
Size: 387 Bytes
Versions: 46
Compression:
Stored size: 387 Bytes
Contents
# frozen_string_literal: true module LicenseFinder class License class Template TEMPLATE_PATH = ROOT_PATH.join('license', 'templates') def self.named(name) new TEMPLATE_PATH.join("#{name}.txt").read end attr_reader :content def initialize(raw_content) @content = Text.normalize_punctuation(raw_content) end end end end
Version data entries
46 entries across 46 versions & 2 rubygems