In Files

  • test/test_mini_pie.rb

TestMiniPie

Public Instance Methods

test_pie_with_legend_right() click to toggle source
 
               # File test/test_mini_pie.rb, line 11
def test_pie_with_legend_right
  g = setup_basic_graph(Gruff::Mini::Pie, 200)
  g.legend_position = :right
  write_test_file g, 'mini_pie_right_legend.png'
end
            
test_simple_pie() click to toggle source
 
               # File test/test_mini_pie.rb, line 6
def test_simple_pie
  g = setup_basic_graph(Gruff::Mini::Pie, 200)
  write_test_file g, 'mini_pie.png'
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please see Improve the docs, or visit Documenting-ruby.org.

blog comments powered by Disqus