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