Sha256: 8af81792485c4f1418f9613a781f9c5ff888172a6369c7fdd0c5529772c8835d

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer|
      composer.add_box do |composer, settings|
        settings.align = :left
        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_left.rb
whirled_peas-0.12.0 screen_test/settings/align/children_left.rb
whirled_peas-0.11.1 screen_test/settings/align/children_left.rb
whirled_peas-0.11.0 screen_test/settings/align/children_left.rb
whirled_peas-0.10.0 screen_test/settings/align/children_left.rb