Sha256: e060f0c13607d14bfac7f73d0eb13b91e7535fcbd5a8d0b4c3d9792fe490d477

Contents?: true

Size: 326 Bytes

Versions: 5

Compression:

Stored size: 326 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template do |composer|
      composer.add_box('Wide') do |_, settings|
        settings.full_border
        settings.padding.vert = 1
        settings.height = 6
        settings.sizing = :border
        "11\n22\n33\n44"
      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/box_border_sizing.rb
whirled_peas-0.9.0 screen_test/settings/height/box_border_sizing.rb
whirled_peas-0.8.0 screen_test/settings/height/box_border_sizing.rb
whirled_peas-0.7.1 screen_test/settings/height/box_border_sizing.rb
whirled_peas-0.7.0 screen_test/settings/height/box_border_sizing.rb