Sha256: c9c2fdf8a9c9e426556eb3826560822bc21142466c645f57668aa5b0540ea4a4

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template do |composer, settings|
      composer.add_grid do |_, settings|
        settings.flow = :t2b
        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_t2b.rb
whirled_peas-0.6.0 screen_test/rendered/settings/flow/grid_t2b.rb