Sha256: 21c4ca333729a087d204b525d744184ceb07a8b1323d907debec27415a16f360
Contents?: true
Size: 356 Bytes
Versions: 14
Compression:
Stored size: 356 Bytes
Contents
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
14 entries across 14 versions & 1 rubygems