Sha256: b62c93afbe13812d000c83e8e7da7c50c5bf5bb2125417c1a581ea8b0f9bc866

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer|
      composer.add_box do |composer, settings|
        settings.width = 10
        settings.full_border
        str = ''
        10.times do |i|
          composer.add_text { str += "#{i}|" }
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whirled_peas-0.13.0 screen_test/settings/width/overflow_box_l2r.rb
whirled_peas-0.12.0 screen_test/settings/width/overflow_box_l2r.rb
whirled_peas-0.11.1 screen_test/settings/width/overflow_box_l2r.rb
whirled_peas-0.11.0 screen_test/settings/width/overflow_box_l2r.rb
whirled_peas-0.10.0 screen_test/settings/width/overflow_box_l2r.rb