Sha256: 96235b33f1f66f1962ba3232dea3da75c581c6930813ccd74f20d76a5e378a2d
Contents?: true
Size: 454 Bytes
Versions: 31
Compression:
Stored size: 454 Bytes
Contents
module HammerCLI module Help class Text < AbstractItem def initialize(text = nil, options = {}) super(options) build_definition(text) end def build_string text = @text text = HighLine.color(@text, :bold) if @richtext text end protected def build_definition(content) @text = content || '' @definition = Definition.new([self]) end end end end
Version data entries
31 entries across 31 versions & 1 rubygems