Sha256: 8f9ce5085c3cc18942ee883bbb307ac3053bae15274e9fb145ce25c9268b1b20
Contents?: true
Size: 409 Bytes
Versions: 6
Compression:
Stored size: 409 Bytes
Contents
module Coradoc module Element module Comment class Block < Base attr_accessor :text def initialize(text, options = {}) @text = text @line_break = options.fetch(:line_break, "\n") end def to_adoc <<~ADOC.chomp //// #{@text} ////#{@line_break} ADOC end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems