Sha256: c881853fa2ccce064cd8f120e07bd103ae9a18a25c5c5536be74ce96ada20c90

Contents?: true

Size: 395 Bytes

Versions: 5

Compression:

Stored size: 395 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 = :top
        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_top.rb
whirled_peas-0.9.0 screen_test/settings/valign/box_top.rb
whirled_peas-0.8.0 screen_test/settings/valign/box_top.rb
whirled_peas-0.7.1 screen_test/settings/valign/box_top.rb
whirled_peas-0.7.0 screen_test/settings/valign/box_top.rb