Sha256: a57e6bcc905da37f8df0c3f90757ce72af06aeb5d9529a54c27f4c5cd9772461

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 = :l2r
        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_l2r.rb
whirled_peas-0.6.0 screen_test/rendered/settings/flow/grid_l2r.rb