Sha256: c73f53a69f8de45649b576d2c008fa5005aded394d164ca19003fa1e342e4bb6

Contents?: true

Size: 254 Bytes

Versions: 3

Compression:

Stored size: 254 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer|
      composer.add_graph('Graph') do |_, settings|
        settings.height = 12
        [5, 5, 5, 5, 5, 5, 5, 5, 5, 5]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
whirled_peas-0.13.0 screen_test/elements/graph_horiz.rb
whirled_peas-0.12.0 screen_test/elements/graph_horiz.rb
whirled_peas-0.11.1 screen_test/elements/graph_horiz.rb