Sha256: 266476c5851814f568f2cce452e63fff9af5c65b5c73f632415a5cf634f09ba3
Contents?: true
Size: 435 Bytes
Versions: 4
Compression:
Stored size: 435 Bytes
Contents
require 'whirled_peas' class TemplateFactory def build(*) WhirledPeas.template(:test) do |composer| composer.add_box('Outer') do |composer, settings| settings.full_border settings.scrollbar.vert = true settings.height = 5 settings.flow = :t2b settings.content_start.top = -4 26.times.map do |i| ('A'.ord + i).chr end.join("\n") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems