Sha256: 89534b717c5398f7ef75bd92eb88dc594b6e656bda7edb95f9532d54467d9bf9
Contents?: true
Size: 439 Bytes
Versions: 4
Compression:
Stored size: 439 Bytes
Contents
module Ahnnotate module Function class Format attr_reader :comment def initialize(comment:) @comment = comment end def call(table, content) table.string(comment: comment) + "\n" + strip_schema(content) end private def strip_schema(content) @schema_stripper ||= StripSchema.new(comment: comment) @schema_stripper.call(content) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems