Sha256: dc217ea0c0fa064c23a2eb9dce3404d6c79da7eca50a2019a8e7b1496a96f2c8

Contents?: true

Size: 375 Bytes

Versions: 5

Compression:

Stored size: 375 Bytes

Contents

require 'whirled_peas'

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