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