Sha256: 20284e8ba7a7f7f4d1537c988ce5eb53ef602e5d7eb65ccac9a496aefeceee15

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template 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.9.1 screen_test/settings/align/box_between.rb
whirled_peas-0.9.0 screen_test/settings/align/box_between.rb
whirled_peas-0.8.0 screen_test/settings/align/box_between.rb
whirled_peas-0.7.1 screen_test/settings/align/box_between.rb
whirled_peas-0.7.0 screen_test/settings/align/box_between.rb