doc/ex/tref01.rb in rmagick-1.8.3 vs doc/ex/tref01.rb in rmagick-1.9.0

- old
+ new

@@ -1,14 +1,13 @@ require 'rvg/rvg' -include Magick -RVG.dpi = 90 +Magick::RVG.dpi = 90 Fill = %w{yellow pink green blue cyan red purple brown} -rvg = RVG.new(6.cm, 6.cm).viewbox(0,0,600,600) do |canvas| +rvg = Magick::RVG.new(6.cm, 6.cm).viewbox(0,0,600,600) do |canvas| canvas.background_fill = 'white' - ref_text = RVG::Tspan.new("Referenced").styles(:font_size=>52, :font_weight=>'bold') + ref_text = Magick::RVG::Tspan.new("Referenced").styles(:font_size=>52, :font_weight=>'bold') canvas.g.translate(300,270) do |grp| angle = 0 8.times do |n| grp.text do |txt|