Sha256: df7ff725e1aede8edf88f7c0d0a64ab3361fad446970c63ea8c28ec9702402a2

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 = :bottom
        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_bottom.rb
whirled_peas-0.9.0 screen_test/settings/valign/box_bottom.rb
whirled_peas-0.8.0 screen_test/settings/valign/box_bottom.rb
whirled_peas-0.7.1 screen_test/settings/valign/box_bottom.rb
whirled_peas-0.7.0 screen_test/settings/valign/box_bottom.rb