Sha256: 0993c7ed67ebcbadd8faaab37eeba5294f18a45296bfd20b9f429652d4653e23

Contents?: true

Size: 369 Bytes

Versions: 5

Compression:

Stored size: 369 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer|
      composer.add_box do |composer, settings|
        settings.align = :right
        settings.width = 28
        settings.full_border
        composer.add_text('Text1') { 'Thing 1' }
        composer.add_text('Text2') { 'Thing 2' }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whirled_peas-0.13.0 screen_test/settings/align/children_right.rb
whirled_peas-0.12.0 screen_test/settings/align/children_right.rb
whirled_peas-0.11.1 screen_test/settings/align/children_right.rb
whirled_peas-0.11.0 screen_test/settings/align/children_right.rb
whirled_peas-0.10.0 screen_test/settings/align/children_right.rb