Sha256: 76f708eddc99a5636b9aa3de7261118ddc6e786b0d582c0d6038ff31f048d52f

Contents?: true

Size: 330 Bytes

Versions: 5

Compression:

Stored size: 330 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template do |composer|
      composer.add_box do |composer, settings|
        settings.flow = :t2b
        settings.height = 5
        settings.full_border
        10.times do
          composer.add_text { 'XO' }
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whirled_peas-0.9.1 screen_test/settings/height/overflow_box_t2b.rb
whirled_peas-0.9.0 screen_test/settings/height/overflow_box_t2b.rb
whirled_peas-0.8.0 screen_test/settings/height/overflow_box_t2b.rb
whirled_peas-0.7.1 screen_test/settings/height/overflow_box_t2b.rb
whirled_peas-0.7.0 screen_test/settings/height/overflow_box_t2b.rb