Sha256: b4e6d5df5c8be88ddd41655957278b779096e6b21ef656b5219cdde2b5bd55da

Contents?: true

Size: 472 Bytes

Versions: 4

Compression:

Stored size: 472 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer, settings|
      settings.set_padding(left: 5, top: 5)
      composer.add_box do |composer, settings|
        settings.full_border(color: :green)
        settings.content_start.top = 3
        composer.add_box do |_, settings|
          settings.full_border(color: :red)
          %w[12345 22344 33333 44322 54321].join("\n")
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whirled_peas-0.13.0 screen_test/settings/content_start/box_top.rb
whirled_peas-0.12.0 screen_test/settings/content_start/box_top.rb
whirled_peas-0.11.1 screen_test/settings/content_start/box_top.rb
whirled_peas-0.11.0 screen_test/settings/content_start/box_top.rb