Sha256: fa2279c0cb3aed0faf3e0724dadf495e0bcec74938689a616b30eef270861b03
Contents?: true
Size: 203 Bytes
Versions: 3
Compression:
Stored size: 203 Bytes
Contents
module RTFM class TextSection < Struct.new(:title, :body) def to_groff GroffString.groffify do |out| out.section title.to_s.upcase out << body.to_s end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rtfm-0.5.2 | lib/rtfm/sections/text.rb |
rtfm-0.5.1 | lib/rtfm/sections/text.rb |
rtfm-0.5.0 | lib/rtfm/sections/text.rb |