Sha256: 1f0e4bb574f15dd004c9f9e50b8fac5c693eaa57dd210bcdca801b8b57c09022
Contents?: true
Size: 609 Bytes
Versions: 4
Compression:
Stored size: 609 Bytes
Contents
module Ahnnotate module Function class Niam include Command def call @config["annotate"].each do |facet_name, config| if !config["enabled"] next end schema_stripper = StripSchema.new(comment: "#") vfs.each_in(config["path"], config["extension"]) do |path, content| content_with_stripped_schema = schema_stripper.call(content) if content_with_stripped_schema.size < content.size vfs[path] = content_with_stripped_schema end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems