Class: Phlex::SVG

Inherits:
SGML
  • Object
show all
Extended by:
ElementClobberingGuard
Includes:
StandardElements
Defined in:
lib/phlex/svg.rb

Defined Under Namespace

Modules: StandardElements

Instance Method Summary collapse

Methods included from ElementClobberingGuard

method_added

Methods included from StandardElements

#a, #animate, #animateMotion, #animateTransform, #circle, #clipPath, #defs, #desc, #discard, #ellipse, #feBlend, #feColorMatrix, #feComponentTransfer, #feComposite, #feConvolveMatrix, #feDiffuseLighting, #feDisplacementMap, #feDistantLight, #feDropShadow, #feFlood, #feFuncA, #feFuncB, #feFuncG, #feFuncR, #feGaussianBlur, #feImage, #feMerge, #feMergeNode, #feMorphology, #feOffset, #fePointLight, #feSpecularLighting, #feSpotLight, #feTile, #feTurbulence, #filter, #foreignObject, #g, #image, #line, #linearGradient, #marker, #mask, #metadata, #mpath, #path, #pattern, #polygon, #polyline, #radialGradient, #rect, #script, #set, #stop, #style, #svg, #switch, #symbol, #text, #textPath, #title, #tspan, #use, #view

Methods included from Elements

#register_element, #register_void_element, #registered_elements

Methods inherited from SGML

#__final_call__, #await, call, #call, #capture, #comment, #context, element_method?, #initialize, method_added, new, #plain, rendered_at_least_once!, #template, #unsafe_raw, #view_template, #whitespace

Constructor Details

This class inherits a constructor from Phlex::SGML

Instance Method Details

#content_typeObject



12
13
14
# File 'lib/phlex/svg.rb', line 12

def content_type
	"image/svg+xml"
end

#filenameObject



16
17
18
# File 'lib/phlex/svg.rb', line 16

def filename
	nil
end