Sha256: d5ecbc2f0ac2a6048f6b856cc19b1bbcbd0fb9efb5059bd8465c6fbcbfc6e3bd
Contents?: true
Size: 331 Bytes
Versions: 9
Compression:
Stored size: 331 Bytes
Contents
module LicenseFinder class License class Template def self.named(name) path = ROOT_PATH.join("data", "licenses", "#{name}.txt") new(path.read) end attr_reader :content def initialize(raw_content) @content = Text.normalize_punctuation(raw_content) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems