Sha256: 2f50fb239a4f726cb8e79229f3ca2c829e8dfecfcbf84d94584c7570e5d8cd9d

Contents?: true

Size: 266 Bytes

Versions: 3

Compression:

Stored size: 266 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template(:test) do |composer|
      composer.add_graph('Graph') do |_, settings|
        settings.height = 12
        [6, 9, 11, 12, 11, 9, 6, 3, 1, 0, 1, 3, 6]
      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_sin.rb
whirled_peas-0.12.0 screen_test/elements/graph_sin.rb
whirled_peas-0.11.1 screen_test/elements/graph_sin.rb