class Magick::RVG::PathData
def add_points(req, *coords)
def add_points(req, *coords) return unless coords raise ArgumentError, "wrong number of coordinates specified. A multiple of #{req} required, #{req + coords.length} given." if coords.length % req != 0 coords.each { |c| @path << sprintf('%g', c) } end