Sha256: 84e23716832ac18c6f3575fd883c95e14e4d06355e6ef7b6659c0f93480c40cd

Contents?: true

Size: 405 Bytes

Versions: 5

Compression:

Stored size: 405 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) 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.13.0 screen_test/settings/valign/box_around.rb
whirled_peas-0.12.0 screen_test/settings/valign/box_around.rb
whirled_peas-0.11.1 screen_test/settings/valign/box_around.rb
whirled_peas-0.11.0 screen_test/settings/valign/box_around.rb
whirled_peas-0.10.0 screen_test/settings/valign/box_around.rb