class Rasem::SVGTagWithParent

Extension of SVGTag to provide a reference to the parent img (used for defs)

Attributes

img[R]

Public Class Methods

new(img, tag, params = {}, output=nil, &block) click to toggle source
Calls superclass method Rasem::SVGTag::new
# File lib/rasem/svg_image.rb, line 393
def initialize(img, tag, params = {}, output=nil, &block)
  @img = img
  super(tag, params, &block)
end