Sha256: 047a587d7aa30212a4f109a93c91c9921dc759ad50b48a6188438df9d5c80e47

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 Bytes

Contents

require 'whirled_peas'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whirled_peas-0.7.0 screen_test/settings/flow/grid_b2t.rb
whirled_peas-0.6.0 screen_test/rendered/settings/flow/grid_b2t.rb