Class: Emfsvg::Svg::Elements::Defs
- Inherits:
-
Emfsvg::Svg::Element
- Object
- Emfsvg::Svg::Element
- Emfsvg::Svg::Elements::Defs
- Defined in:
- lib/emfsvg/svg/elements/defs.rb
Overview
Constant Summary collapse
- ELEMENT_NAME =
"defs"
Instance Attribute Summary collapse
-
#children ⇒ Object
readonly
Returns the value of attribute children.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(children:) ⇒ Defs
constructor
A new instance of Defs.
Methods inherited from Emfsvg::Svg::Element
#clip_path, #element_name, register
Constructor Details
#initialize(children:) ⇒ Defs
Returns a new instance of Defs.
14 15 16 |
# File 'lib/emfsvg/svg/elements/defs.rb', line 14 def initialize(children:) @children = children end |
Instance Attribute Details
#children ⇒ Object (readonly)
Returns the value of attribute children.
12 13 14 |
# File 'lib/emfsvg/svg/elements/defs.rb', line 12 def children @children end |