Sha256: ffb6b35779d76d005df7183c9abbbf03b07307dc9ceb9b02b923762cf47fb2f2

Contents?: true

Size: 398 Bytes

Versions: 5

Compression:

Stored size: 398 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template do |composer|
      composer.add_box do |composer, settings|
        settings.flow = :t2b
        settings.full_border
        settings.valign = :around
        settings.height = 15
        composer.add_text { 'A' }
        composer.add_text { 'B' }
        composer.add_text { 'C' }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whirled_peas-0.9.1 screen_test/settings/valign/box_around.rb
whirled_peas-0.9.0 screen_test/settings/valign/box_around.rb
whirled_peas-0.8.0 screen_test/settings/valign/box_around.rb
whirled_peas-0.7.1 screen_test/settings/valign/box_around.rb
whirled_peas-0.7.0 screen_test/settings/valign/box_around.rb