Sha256: b15d8a67bf4a39a190c857239b4a1a2f748cdfb4b3c36f5a1351d5bd67d57ed4
Contents?: true
Size: 463 Bytes
Versions: 5
Compression:
Stored size: 463 Bytes
Contents
require 'whirled_peas' class TemplateFactory def build(*) WhirledPeas.template do |composer, settings| settings.set_padding(left: 5, top: 5) composer.add_box do |composer, settings| settings.full_border(color: :green) composer.add_box do |_, settings| settings.position.top = -3 settings.full_border(color: :red) %w[12345 22344 33333 44322 54321].join("\n") end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems