doc/ex/arcs01.rb in rmagick-1.8.3 vs doc/ex/arcs01.rb in rmagick-1.9.0
- old
+ new
@@ -1,10 +1,9 @@
require 'rvg/rvg'
-include Magick
-RVG.dpi = 90
+Magick::RVG.dpi = 90
-rvg = RVG.new(12.cm, 5.25.cm).viewbox(0, 0, 1200, 400) do |canvas|
+rvg = Magick::RVG.new(12.cm, 5.25.cm).viewbox(0, 0, 1200, 400) do |canvas|
canvas.title = "Example arcs01 - arc commands in path data"
canvas.desc = <<-END_DESC
Picture of a pie chart with two pie wedges and a picture
of a line with arc blips
END_DESC