Sha256: 8e797c2e878458f78727a7941eee5e1a4563d1fcb7aa79b4285b10bc65f17a44

Contents?: true

Size: 299 Bytes

Versions: 5

Compression:

Stored size: 299 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer|
      composer.add_grid do |_, settings|
        settings.flow = :b2t
        settings.full_border
        settings.num_cols = 4
        10.times.map { |i| i + 1 }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whirled_peas-0.13.0 screen_test/settings/flow/grid_b2t.rb
whirled_peas-0.12.0 screen_test/settings/flow/grid_b2t.rb
whirled_peas-0.11.1 screen_test/settings/flow/grid_b2t.rb
whirled_peas-0.11.0 screen_test/settings/flow/grid_b2t.rb
whirled_peas-0.10.0 screen_test/settings/flow/grid_b2t.rb